| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <cwilson AT ece DOT gatech DOT edu> |
| 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> |
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 AT atomice DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |