isprint core dump

Eric Blake eblake@redhat.com
Mon Jan 23 20:56:00 GMT 2012


On 01/23/2012 01:44 PM, Nellis, Kenneth wrote:
> From: Ryan Johnson
>  From the isprint() man page:
>> /c/ ... must have the value of an /unsigned char/ or *EOF*
> 
> FWIW, that didn't come from the cygwin man page.

No, but it DOES come from POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html

And cygwin's behavior matches POSIX on this point; the bug is in your
program, not cygwin.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120123/59e6705c/attachment.sig>


More information about the Cygwin mailing list