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


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

.

Last update: 1997-05-20


                                                                9945-1-90 #36
 _____________________________________________________________________________


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


Defect Report:
-----------------------
Section 5.3.1.4 open() Errors - ENAMETOOLONG addresses the cases
where the path argument exceeds the PATH_MAX limit. If the path
argument does not start with a slash, path name resolution (as defined
in section 2.3.6) can generate a path name that exceeds the system
limit. Is ENAMETOOLONG also required?

(Paul Wanish IBM)

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

No, the ENAMETOLONG error condition is not required for this case.

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. Thus there is no requirement than
an implementation fail if the length of such an implementation generated
pathname exceeds PATH_MAX.
 _____________________________________________________________________________