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 Date: Tue, 16 Apr 2002 17:34:19 +0200 From: Pavel Tsekov Reply-To: Pavel Tsekov Organization: Syntrex, Inc. X-Priority: 3 (Normal) Message-ID: <1226161958.20020416173419@syntrex.com> To: cygwin AT cygwin DOT com Subject: [PATCH] cygutils:conv.c: Prevent truncation of file if 0xFF is encountered In-Reply-To: <003401c1e534$e4a65290$0100a8c0@advent02> 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------CB291BE27AED1" ------------CB291BE27AED1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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(). ------------CB291BE27AED1 Content-Type: application/octet-stream; name="conv.c.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="conv.c.diff" LS0tIGNvbnYuYy5iYWsgIE1vbiBBcHIgMTUgMjE6NDc6MzQgMjAwMgorKysgY29udi5jICAgICAg TW9uIEFwciAxNSAyMTo0ODowMyAyMDAyCkBAIC0zMjQsMyArMzI0LDMgQEAKIHN0YXRpYyBpbnQg Y29udmVydChjb25zdCBjaGFyICpmbiwgaW50IENvbnZUeXBlLCBjaGFyICogcHJvZ25hbWUpIHsK LSAgY2hhciBjOworICBpbnQgYzsKICAgY2hhciAqdGVtcEZuOwoK ------------CB291BE27AED1 Content-Type: text/plain; charset=us-ascii -- 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/ ------------CB291BE27AED1--