[PATCH] cygutils:conv.c: Prevent truncation of file if 0xFF is encountered

Pavel Tsekov ptsekov@syntrex.com
Tue Apr 16 08:58:00 GMT 2002


Hello Chris,

Tuesday, April 16, 2002, 12:53:07 PM, you wrote:

CJ> Submit my patch instead to cygwin-patches along with a ChangeLog entry,
CJ> otherwise it probably won't get incldued.

Here it is:

I put your name here because this is your patch :) I've taken this info
from another patch of yours posted to cygwin-patches - I hope I
haven't done wrong ?

2002-04-16  Christopher January  <chris@atomice.net>

     * src/conv/conv.c (convert): Use the right type to store the return
     value of fgetc().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conv.c.diff
Type: application/octet-stream
Size: 210 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020416/26018ed2/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list