Checks to see if unsigned integers < 0

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jul 15 23:53:10 MDT 2013


On Mon, Jul 15, 2013 at 01:35:34PM -0400, simo wrote:
> > With this vague statement I am a bit reluctant to remove the
> > uid<0 checks just because the most popular platform has that
> > as an unsigned. Maybe we should #ifdef that somehow if it is
> > a real problem?
> 
> Let's put it another way, do you know of any platform that does not
> define it as a unsigned integer ?

I do not know, but that does not mean this does not exist.
That's why I was asking where Posix specifies it *has* to be
an unsigned integer.

Does someone else on this list have more insight on where
Posix mandates that uid_t is unsigned?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list