delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/24/12:12:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000524160930.16282.qmail@web117.yahoomail.com>
Date: Wed, 24 May 2000 09:09:30 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: DOS-EOL bug in "fgets"
To: Serguei DOT Grigoriev AT Physik DOT Uni-Augsburg DOT DE
Cc: cygwin users <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

--- "Sergey R. Grigoriev" <Serguei DOT Grigoriev AT Physik DOT Uni-Augsburg DOT DE> wrote:
> 
> 
> Hello Earnie
> 
> I've reinstalled all-CYGWIN from NET yesterday.
> 
> probably I don't understand EOL and gets() problem correct...
> but I see, that gets() returns "\r\n" as EOL for DOS-Files and
> '\n' for UNIX-Files. But make (see function readline() in read.c from
> make-distribution) can check only '\n' - and parcer will see this
> '\r' later...
> I thank, that CYGWIN-gets() converts 2-byte DOS-EOL into '\n'-Unix EOL
> like it does it in MINGW.
> 
> 

Ok, get the latest dll snapshot from
http://sourceware.cygnus.com/cygwin/snapshots/ and see if that helps.  Yes,
there were patches to fgets to help deal with \r\n and something broke, a fix
was supposedly put into place yesterday.


=====
---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019