[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATH_MAX
From: |
Neal H Walfield |
Subject: |
PATH_MAX |
Date: |
Sun, 12 Aug 2001 18:52:46 +0200 |
User-agent: |
Mutt/1.3.18i |
This bug report was verified against v 2.0.11-11 as found in the Debian
unstable archive and the version marked as 2.0 on ftp.gnu.org. I did
not see a cvs module on subversions.
Shell utils makes use of the macro PATH_MAX. On the Hurd, this is
undefined. Happily, shell utils handles this situation by using
pathconf, however, it does so incorrectly: pathconf returns -1 on the
Hurd. By definition, this means that there is no system imposed limit
but shell utils chooses to use 1024 in this case. This is clearly
a hack and is wrong. Dynamic allocation checking for ENAMETOOLONG,
etc., should instead be performed.
Thanks.
pgp5if5pdG_vN.pgp
Description: PGP signature
- PATH_MAX,
Neal H Walfield <=