Mail Archives: djgpp-workers/1997/05/08/12:25:55
Eli Zaretskii wrote:
> Now, when you say open ("blabla", O_RDONLY | O_BINARY), all systems will
> be happy.
> If you want to be friendly to Win32 compilers, check for _O_BINARY and
> define O_BINARY to be _O_BINARY if O_BINARY isn't defined.
Code copied to clipboard :-)
Tks.
[...]
> same person both decides how to open the file and installs his/her FSEXT
> hook.
Ok. I'll modify it to have a conversion only in 'normal' files...
> I think that conversion NL -> CR-LF is so easy that any FSEXT hook that
> really needs it could do it by itself. So I say: don't bother with
> conversion, let the hook do it.
OK. Do you think this implies a change in the documentation ?
I think it could be better... At least to avoid people complaining...
- Raw text -