strange bug that doesn't occur in Linux, OpenBSD or ITS

Jeremiah Bishop bishopjeremiah@ymail.com
Sat Feb 18 18:32:00 GMT 2012


the  bash commands used are:
1) gcc "cygwin puzzle.c" 

2) ./a.out a b
Now either version used on a file with a shorter set of lines, works just fine but strangely, that single digit difference aborts the program without throwing any error on the sample input or text files with similarly long lines.

Perhaps that has been covered before but 3 hours of searching the archives did not yield any helpful results [perhaps I used the wrong search criteria? ]

any tips or hints on what has gone wrong will be helpful.

Sincerely,

Jeremiah Bishop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a
Type: application/octet-stream
Size: 92160 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120218/7ef5a96c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 104371 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120218/7ef5a96c/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin puzzle.c
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120218/7ef5a96c/attachment.c>
-------------- next part --------------
--
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


More information about the Cygwin mailing list