WG15 Defect Report Ref: 9945-2-13
Topic: patch


This is an approved interpretation of 9945-2:1993.

.

Last update: 1997-05-20


								9945-2-13

	Class: The unaddressed issue

The standard does not address this issue, and as such no conformance
distinction can be made between alternative implementations based on this.
This is being referred to the Sponsors of the standard for clarifying 
wording in the next amendment.

 _____________________________________________________________________________



	Topic:			patch
	Relevant Sections:	5.22.7.1


Defect Report:
-----------------------
 
 
          In Section 5.22.7.1 - Patchfile Format, the standard  states 
          that ``patch shall recognize the following expressions: 
 
               *** filename timestamp   The  patches  arose  from 
               filename. 
               --- filename  timestamp   The  patches  should  be 
               applied to filename. 
 
          [Draft 12 of ISO/IEC 9945-2:1993 (July 1992), p. 620, lines 
          3572-3575] 
 
          In Section 5.22.7.2 - Filename Determination,  the  standard 
          then describes what occurs when patch finds these lines  (in 
          point #1): 
 
               then [patch shall] test for the existence of  both 
               files  in  the  current  directory  (or  directory 
               specified with the  -d  option).   If  both  files 
               exist, the patch  utility  shall  assume  that  no 
               pathname can be obtained from this step. 
 
          [Ibid., p. 620, lines 3584-3587] 
 
          If only one of these files exists,  which  one  is  used  to 
          obtain the pathname?  One would expect  the  existing  file, 
          however the standard does not explicitly state it. 
 

WG15 response for 9945-2:1993 
-----------------------------------
The standard does not address this issue, and a conforming implementation
may take any behavior in this area. Concern over the specification in
this area has been forwarded to the Sponsors of the standard.

Rationale for Interpretation:
-----------------------------
None.


 _____________________________________________________________________________