WG15 Defect Report Ref: 9945-1-10
Topic: colon in filenames

This is an approved interpretation of 9945-1:1990.


Last update: 1997-05-20

                                                                9945-1-90 #10

        Classification: Editorial defect


	Topic:			colon in filenames
	Relevant Sections:,,, 2.6

Defect Report:

    In filename, page 14, lines 179-180:

	"The characters composing the name may be selected from the set of
	all character values excluding the slash character and the null
    In pathname, page 17, lines 268-269:
	"It has an optional beginning slash, followed by zero or more
	filenames separated by slashes."
    In path prefix, page 17, lines 264-265:
	"A pathname, with an optional ending slash, that refers to a
    In 2.6 Environment Description [PATH], page 28, lines 730-731:

	"The prefixes are separated by a colon (:)."

    If the PATH environment variable contains a path prefix that
    includes a filename that includes a colon, shall conforming
    implementations treat this colon as part of the filename, or as
    a path prefix separator, or is either behavior acceptible?  Are
    conforming applications prohibited from setting a value of the
    PATH environment variable that includes a colon as part of a
    path prefix?

WG15 response for ISO/IEC 9945-1:1990 (IEEE Std 1003.1-1990)

Implementations shall interpret all colons in the PATH environment
variable as separators.  Conforming applications must therefore avoid
using colons in pathnames which may be included in the PATH environment

Rationale for Interpretation:

The definition of "separated" on page 28 line 731 accords with normal
computing practice, which accepts that separator characters cannot be
embedded within the separated fields.