WG15 Defect Report Ref: 9945-1-57
Topic: ENAMETOOLONG


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

.

Last update: 1997-05-20


                                                                9945-1-90 #57
 _____________________________________________________________________________


	Topic:			ENAMETOOLONG
	Relevant Sections:	2.4
	Classification:		No Change required.


Defect Report:
-----------------------

Can a pathname be shortened by normal pathname resolution
prior to checking for ENAMETOOLONG?

X/Open proposes that it does not. It is our opinion that
ISO/IEC 9945-1:1990 requires the ENAMETOOLONG error when the length
of a pathname argument exceeds {PATH_MAX}.  It says nothing
about the length "after pathname resolution", but refers
explicitly to the contents of the argument.

(X/OPEN)

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

No.

Rationale for Interpretation:
-----------------------------
The [ENAMETOOLONG] error condition refers to pathname arguments supplied
to the implementation, not to any pathnames that might be internally
generated by the implementation.
 _____________________________________________________________________________