This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: hybrid text/binary mount


On Mon, Apr 24, 2000 at 04:26:04PM -0400, DJ Delorie wrote:
>
>> I think that most output is done in more than one character at a time
>> mode.
>
>Yeah, but consider, for example, raw PBM files.  The first few lines
>are text lines, but after that the data is binary.  One could easily
>assume that it's a text file from the first few writes, but it's not.
>Only if the user uses stdio, and the buffer happens to be big enough
>(and not flushed, or line buffered), will it guess right.

So, we'll be no worse off with raw PBM files than we are right now.
This is obviously not 100% foolproof.  That may be a reason not
to even consider it because it will make problems a lot harder
to track down.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]