postnews() bug (2.10.3), with fix
Arthur David Olson
ado at elsie.UUCP
Sat Aug 23 01:37:04 AEST 1986
> for (p=src; !isspace(*p)/*isalnum(*p) || ispunct(*p)*/; p++)
> ;
Since isspace('\0') is false (at least on our 4.1BSD system), our department
of defensive programming recommends that the above test take the form
> for (p=src; *p != '\0' && !isspace(*p); p++)
> ;
--
Bug/s is a Volkswagen/Warner Brothers trademark.
--
UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado at seismo.ARPA
DEC, VAX, Elsie & Ado are Digital, Borden & Ampex trademarks.
More information about the Net.bugs
mailing list