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: Fri, 22 Aug 2014 12:20:04 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Michele La Monaca scripsit:

> I think it would be better to change open-input-file default mode to binary.

Over my dead body.  The last thing I want is random CRs in text files.

> While Posix systems doesn't care, on non-Posix ones ftell and fseek
> might not work properly.

In practice the only non-Posix system is raw Windows (i.e. non-Cygwin),
and ftell and fseek work fine.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
We want more school houses and less jails; more books and less arsenals;
more learning and less vice; more constant work and less crime; more
leisure and less greed; more justice and less revenge; in fact, more of
the opportunities to cultivate our better natures.  --Samuel Gompers



reply via email to

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