chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] open-input-file and binary mode


From: John Cowan
Subject: Re: [Chicken-users] open-input-file and binary mode
Date: Sun, 24 Aug 2014 16:39:09 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Michele La Monaca scripsit:

> On the same page at last. On my first mail I was just asking to make
> (open-input-file FILE #:binary) the default behaviour (it is already
> so in Unix given there's no such a text mode there). Bad idea?

I think so.  The default mode of open-input-file should read ordinary
(non-foreign) text files while still presenting the Posix mode of lines
terminated by a single newline character.  That's the way CLI programs
on Windows normally work.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
Her he asked if O'Hare Doctor tidings sent from far coast and she with
grameful sigh him answered that O'Hare Doctor in heaven was.  Sad was the
man that word to hear that him so heavied in bowels ruthful.  All she
there told him, ruing death for friend so young, algate sore unwilling
God's rightwiseness to withsay.   Joyce, Ulysses, "Oxen of the Sun"



reply via email to

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