how to write binary datas in a file_(re)

Tue, 17 Sep 1996 14:18:02 +0200 (MET DST)


Hi Sven, hi everybody,

> I can use only the "write" function - the result is all $0A will be  
> converted into "$0D $0A" - Yes, thats the CrLf -

Yes, that's even true for "File of Integer"!  Congratulations - you
have discovered a serious bug in the Run Time Library. :-(

> I think it's no problem  
> under UNIX, Linux, Ponyx, Limbux etc. :-)

Yes, it isn't.  Your diagnostics was right.

> How can I write binary datas in a file?
> It must be work in MS-DOS !!!

I'd like to fix it as soon as possible, but I am out of time right now.
:-( :-(

Anybody out there to do it?  The error must be in rts/rts-write.c,
something with fopen() ...

    Peter

      e-mail:  peter.gerwinski@uni-essen.de
home address:  D\"usseldorfer Str. 35, 45145 Essen, Germany
         WWW:  http://agnes.dida.physik.uni-essen.de/~peter/


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es