PATH_MAX in sys/param.h

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Thu Apr 1 00:00:00 GMT 1999


Alex Buell <alex.buell@tahallah.demon.co.uk> writes:

|> Hi guys,
|> 
|> I think I've just come across another incompatiblity in the glibc header
|> files (currently 2.0.109 - not gonna bother with 2.0.110).
|> 
|> rpm-2.5.6 uses PATH_MAX in verify.c, but only includes the following files
|> errno.h, fcntl.h, stdlib.h, string.h and unistd.h. 
|> 
|> Unfortunately sys/param.h is only included from the resolv.h header file.
|> In all my greps around, this was the only instance where it is being
|> included.
|> 
|> Shouldn't unistd.h or stdlib.h include sys/param.h automatically? 

Why doesn't rpm include <sys/param.h> itself?

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org



More information about the Libc-alpha mailing list