hybrid text/binary mount

Earnie Boyd earnie_boyd@yahoo.com
Mon Apr 24 12:21:00 GMT 2000


--- DJ Delorie <dj@delorie.com> wrote:
> 
> Hey, I've got an idea.  How about a mount mode where files opened for
> reading do CR/LF conversion *if* they look like text files (i.e. no
> binary characters, all CR/LF are part of CR/LF pair), and files open
> for writing always write files in binary mode.
> 
> Of course, programs that specify text or binary would get what they
> wanted.

I had suggested this earlier.  I'm cleaning up a patch I did for bash and ash
that will convert \r to \n for scripts but if this is done it would make my
bash and ash patches needless.


=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com


More information about the Cygwin-developers mailing list