[Ecls-list] Um, newline problem under windows...

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Jun 17 14:16:02 UTC 2012


2012/6/17 CRLF0710 <crlf0710 at gmail.com>

> (format t "~%")
>
> build an app, say, a.exe
> a.exe > b.txt
>
> hexdump b.txt -c
>
> 0000000   \r  \r  \n
>

It turns out that in an unbelievable degree of stupidity, Microsoft not
only implements CRLF translation at the level of fread/fwrite, but also for
input/output operations with read() and write(). I will upload some patches
in a few minutes.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120617/8cc693b7/attachment.html>


More information about the ecl-devel mailing list