delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/16/09:37:06

From: afn06760 AT afn DOT org
Subject: Where does the "\n" to "\r\n" conversion take place?
16 Mar 1998 09:37:06 -0800 :
Message-ID: <199803151436.OAA20898.cygnus.gnu-win32@out1.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

One thing you discover if you use cygwin with mingw32 to make the lynx
web browser is that fputc('\n', fp) or fprintf(fp, "\n") in cygwin
behaves like fprintf(fp, "\r\n") in mingw32.  Since cygwin can be set 
up to generate mingw32 code, this means that, somewhere outside of
gcc, the conversion from "\n" to "\r\n" is made.  Or, that there is a
compiler switch that causes one of the gcc overlays to make this
conversion, and the mingw32 minimalist system doesn't use it.

Anyone have information on this topic?
Œ
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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