Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3CBD0B94.2020109@ece.gatech.edu> Date: Wed, 17 Apr 2002 01:43:48 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [PATCH] cygutils:conv.c: Prevent truncation of file if 0xFF is encountered References: <1653605153 DOT 20020415220043 AT gmx DOT net> <005701c1e4bf$82e53370$0100a8c0 AT advent02> <628575010 DOT 20020415232333 AT syntrex DOT com> <003401c1e534$e4a65290$0100a8c0 AT advent02> <1226161958 DOT 20020416173419 AT syntrex DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > > * 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/