Mail Archives: djgpp/1992/09/25/15:44:01
>Excuse the missing error checks. If I add O_WRONLY|O_BINARY everything works.
>The change is deep down in module err.c around line 248. If anyone is using
>f2c and needs the fix, mail me. I'll post this also to the maintainers of f2c
>but they say they are fed up with adding another #ifdef into their code :)
>BTW, they never heard of djgpp. I pointed them to djgpp then.
I usually put this at the beginning of files:
#ifndef O_BINARY
#define O_BINARY 0
#endif
and then use O_BINARY all over the place. It's very portable that
way.
DJ
- Raw text -