This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: isprint core dump


On 23/01/2012 3:16 PM, Nellis, Kenneth wrote:
I haven't had the chance to try under Linux, but
   isprint(3055872)
is core-dumping on me.

From the isprint() man page:
/c/ ... must have the value of an /unsigned char/ or *EOF*

The test case probably overruns some internal table by 3MB or so.


Ryan


-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]