Dubious #define in include/pwd.h

Steven Smith sos22 at cantab.net
Tue Jan 25 13:46:10 PST 2005


I was messing around with sparse, the static checker used sometimes
by Linux kernel people, and I (or rather, it) came upon the line

#define _PW_VERSION_MASK        '0xF0'

in /usr/src/include/pwd.h.  I can't immediately see any use for this;
'\xf0' would probably be more useful.

Of course, it doesn't appear that anyone's actually using the define,
so it doesn't make any actual difference.

Steven Smith.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20050125/ee30b02d/attachment.bin


More information about the freebsd-bugs mailing list