This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: isprint/isspace segfaulting
Raj <raju@mailandnews.com> writes:
> Still the question bugs me. Why cant isspace() and family mask out bits
> which they are not bothered about ?
There is nothing to mask. You are supposed to pass valid values,
everything else results in undefined behaviour.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."