> > For what it's worth, I just use "rb" and "wb" regardless of platform
> > since the *nix versions ignore the "b" anyway...
> 
> This doesn't seem to work for me. I'm writing scientific software for
> 1,5 years now and all the files had been textfiles. So normally the same
> code works for Linux and MS-Windows, but if using "b" option, the line
> end is wrong for MS-Windows (just tried it).

Ah, sorry, I was too vague; I should have said *for any binary file* regardless 
of platform... Sorry...




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to