isprint/isspace segfaulting

Andreas Schwab schwab@suse.de
Wed Dec 10 09:42:00 GMT 2003


Raj <raju@mailandnews.com> writes:

> PS: In the below program if i declare 'ch' as 'char', then things work
> fine. Only when it is declared as 'int' does the problem shows up.

Don't do it then.

> Is this expected ?

Undefined behaviour can mean everything.

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."



More information about the Libc-alpha mailing list