delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/23/17:57:04

From: colman DOT curtin AT trintech DOT com (Coley Curtin)
Subject: RE: putc bug ?
23 Jun 1998 17:57:04 -0700 :
Message-ID: <199806230842.JAA27094.cygnus.gnu-win32@muzak.trintech.ie>
References: <199806220023 DOT BAA00957 AT Talisker DOT demon DOT co DOT uk>
Reply-To: <colman DOT curtin AT trintech DOT com>
To: "John Gumb" <john AT Talisker DOT demon DOT co DOT uk>, <gnu-win32 AT cygnus DOT com>

> It is illustrated by the following which simply writes values
> 0..255 to a file twice. The problem appears to be when
> putc(0x0a) is invoked. It looks to me like putc in it's
> wisdom thinks a <CR> should be inserted before what putc
> interprets as <LF>. Clearly, under a windows environment
> this might be a reasonable thing to do. However, when putc is
> being used to output characters to file of object code,
> things get a little confused.....not least me.
have you test or binary mounts?
the sample code doesn't exhibit this problem with binary mounts.
____________________________________________________________
Colman Curtin              mailto:colman DOT curtin AT trintech DOT com
Senior Software Engineer
------------------------------------------------------------
Trintech Technologies Ltd,          http://www.trintech.com/
South County Business Park,         Tel +353-1-2956766
Leopardstown,                       Fax +353-1-2954735
Dublin 18.
------------------------------------------------------------

Isn't it strange that the same people that laugh at gypsy
fortune tellers take economists seriously?




-
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