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

Re: [MiNT] Here documents and CRLF



"Julian Reschke" <reschke@muenster.de> writes:

|> Yes, but "implementation" refers to the whole system, not just to one out of
|> many libraries. And the native text format under TOS *is* CR/LF, so it's not
|> a POSIX system.

No.  If you say UNIXMODE=b then the text format is the same as the binary
format.  If you cannot guarantee that then your system is broken, and you
must remove 'b' from UNIXMODE.

|> Now of course the owner of the MiNT library can decide to consider his
|> system to be a POSIX system. But then this breaks compatibility with
|> existing text files. Is this what the users of the MiNT library really want?

Which compatibility?  All files on a POSIX system are in text == binary
format.  It's up to you to cope with that.

In a nutshell: use UNIXMODE=b only if *all* your files are in POSIX
format.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org