[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text tools, line endings, and O_TEXT

From: Eric Blake
Subject: Re: Text tools, line endings, and O_TEXT
Date: Thu, 6 Sep 2007 20:22:10 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

John Cowan <cowan <at> ccil.org> writes:

> Okay.  I see why you do that, but it does kinda undermine the argument
> that "Cygwin should behave like Linux", since this is a conspicuous
> example of it *not* behaving like Linux.

How so?  O_TEXT, fopen("rt"), and text mounts, are pure extensions.  In other 
words, you have already left the realm of Linux by specifying something that 
Linux does not provide, at which point cygwin is free to do whatever it wants 
(and hopefully what makes the most sense, given it is on a Windows platform 
after all).  The goal of behaving like Linux is only applicable when you use 
APIs that are available in Linux (ie. avoid the cygwin extensions of explicit 
text mount files).

Eric Blake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]