Mail Archives: djgpp-workers/2001/02/08/07:51:46
On Wed, 7 Feb 2001, Juan Manuel Guerrero wrote:
> Yes, it seems to be that recode, at least, *writes*
> the files in text mode. The testsuit invokes diff -u
> and compares a "standard" file with the output file
> created by recode. The only difference between the two files
> is CRLF and NL.
Are you sure it's because of text-mode I/O? It might be because
`recode' on DOS/Windows by default uses the CRLF surface. You should
be able to override that by saying something like "recode foo..bar/"
instead of just "recode foo..bar".
In any case, any such cases of Unix ``chauvinism'' should be reported
to the maintainer(s), because the test suite should work on any
platform. In many cases, just making the surface explicit will do the
trick, but some tests, which use additional utilities such as Sed,
will need additional hacking.
- Raw text -