Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 12:55:24 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        wosch@apfel.de (Wolfram Schneider)
Cc:        bde@zeta.org.au, wollman@khavrinen.lcs.mit.edu, freebsd-security@FreeBSD.ORG
Subject:   Re: Linux UID/GID 'Feature'
Message-ID:  <199705141955.MAA00844@hub.freebsd.org>
In-Reply-To: <199705132116.XAA00653@campa.panke.de> from "Wolfram Schneider" at May 13, 97 11:16:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Wolfram Schneider wrote:
> 
> >Another problem: isdigit(*p) is usually undefined if *p < 0.
> 
> What does usually means? There is no warning in the isdigit manpage.

	isdigit() and all the other string macros
	should be used with ascii charcters only.
	so (isascii(*p) && isdigit(*p))
	is the correct way to use isdigit()

	this may have changed with the introduction of runes.
jmb



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