9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] libbio and CR-LF
Date: Mon, 24 Feb 2003 17:29:47 +0200	[thread overview]
Message-ID: <20030224172946.A15898@cackle.proxima.alt.za> (raw)
In-Reply-To: <2c43986586d52f0b4b3b1878469ddbcb@plan9.bell-labs.com>; from Russ Cox on Mon, Feb 24, 2003 at 10:14:34AM -0500

On Mon, Feb 24, 2003 at 10:14:34AM -0500, Russ Cox wrote:
>
> If the CR is there it should be reported.
> Libbio should not do any funny conversions
> like Windows stdio libraries traditionally have.
> They confuse more than they help.

You're suggesting that Libbio for Windows should be consistent with
itself and not the underlying environment.  It's a subjective call,
but it makes sense in that only new code would use Libbio.

However, the programmer would have to jump through flaming hoops
to manage all files, as it can't be predicted which variety is
going to be encountered.  If the library can simplify this, I
believe it ought to.  Binary mode restores sanity, if so desired.

It's that, or a complicated shim, re-invented by each user of
Libbio.  At least in my opinion.

++L


  parent reply	other threads:[~2003-02-24 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 10:00 Saroj Mahapatra
2003-02-24 10:54 ` [9fans] " Douglas A. Gwyn
2003-02-24 14:49 ` [9fans] " Russ Cox
2003-02-24 15:09   ` Lucio De Re
2003-02-24 15:14     ` Russ Cox
2003-02-24 15:27       ` Boyd Roberts
2003-02-24 15:29       ` Lucio De Re [this message]
2003-02-24 21:54 ` [9fans] CRLFication (was: libbio and CR-LF) Geoff Collyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030224172946.A15898@cackle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).