Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 21:46:06 +0000
From:      Steven Smith <sos22@cantab.net>
To:        freebsd-bugs@freebsd.org
Cc:        sos22@srcf.ucam.org
Subject:   Dubious #define in include/pwd.h
Message-ID:  <20050125214606.GB1113@archibold>

next in thread | raw e-mail | index | archive | help

--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

--IrhDeMKUP4DT/M7F
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB9r4eO4S8/gLNrjcRAoLLAKCiowDw2Bta2KFQ1+jMgzbcOonwOACfZaTa
3rAvk6+zjHYqIf8KeK9tXn0=
=0K5+
-----END PGP SIGNATURE-----

--IrhDeMKUP4DT/M7F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050125214606.GB1113>