This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATH_MAX in sys/param.h


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? 

Cheers,
Alex
--
 /\_/\  Legalise cannabis now! 
( o.o ) Grow some cannabis today!
 > ^ <  Peace, Love, Unity and Respect to all.

http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!

Linux tahallah 2.2.0-pre8 #72 SMP Tue Jan 19 21:11:07 EST 1999
Two Intel Pentium Pro 166MHz processors, 331.78 total bogomips, 48M RAM
System library 2.0.109



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]