This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] cygutils:conv.c: Prevent truncation of file if 0xFF is encountered
Thanks, all -- I'll include this in the next release of cygutils.
--Chuck
Pavel Tsekov wrote:
> 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().
--- conv.c.bak Mon Apr 15 21:47:34 2002
+++ conv.c Mon Apr 15 21:48:03 2002
@@ -324,3 +324,3 @@
static int convert(const char *fn, int ConvType, char * progname) {
- char c;
+ int c;
char *tempFn;
--
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/