Email List: Xaustin-review-lX
[All Lists]

Defect in XBD <unistd.h>

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XBD <unistd.h>
From: yyyyyyy@xxxxxxxxxx
Date: Wed, 20 Mar 2002 01:42:46 GMT
        Defect report from : Ulrich Drepper , Red Hat, Inc.

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 400 line 14085 section <unistd.h> objection {ud-8}

Problem:

Defect code :  1. Error

The table for the options and options groups contains:

_POSIX_NO_TRUNC

  Pathname components longer than {NAME_MAX} generate an error. This
  symbol shall always be set to a value other than -1.


Either "other than -1" should actually be "greater than 0" or this is a 
horrible requirement.  Requiring this option never to be -1 only means that a 
platform which does not support _POSIX_NO_TRUNC cannot signal this directly but 
instead must require the application to use pathconf().

I suspect therefore it's a typo and "greater than 0" is meant and this option 
is required to always be supported.

Action:

Replace in line 14085

   other than -1

with

   greater than 0

<Prev in Thread] Current Thread [Next in Thread>