Mail Archives: djgpp-workers/1996/07/12/21:53:37
I recall several modified version of various programs which treat
the O_BINARY problem in open correctly (so djgpp compiled programs
properly work).
I asked Jim Meyering about it (he just released new fileutils/textutils)
and he things there's been work along these lines, but its not in
the release...
I'm compiled the fileutils/textutils/shellutils on djgpp...is there
a site with correct fixes for this...I have two approches:
1) where files need to be O_BINARY doing:
#ifndef O_BINARY
#define O_BINARY 0
#endif
open(foo, O_BINARY | mode);
or
2) linking with a special fmode.c to treat files as binary.
I'd like to get this straightened out in the GNU releases.
marty leisner AT sdsp DOT mc DOT xerox DOT com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001
- Raw text -