peter 2003/10/25 21:43:02 PDT
FreeBSD src repository
Modified files:
sbin/restore dirs.c
Log:
Fix gcc warnings. If NAME_MAX is 255, and d_namlen is a uint8_t, then
d_namlen can never be > NAME_MAX. Stop gcc worrying about this by
using a preprocessor test to see if NAME_MAX changes.
Revision Changes Path
1.25 +7 -2 src/sbin/restore/dirs.c