Mail Archives: djgpp/1993/11/29/10:36:44
> I would like to suggest a method similar to that used by Borland:
> To have a global variable _fmode with the two values O_BINARY
> (perhaps default) and O_TEXT which controls CR/LF translation.
Such a variable already exists, and functions as you describe. The
default, as in Borland C, is O_TEXT.
> And there should be an environment (or go32) variable to initialize it.
No. This would globally affect all programs.
> Another great help for porting unix programs would be a possibility
> to detect (e.g. warning to stderr or similar) opens with filenames
> longer than 8+3 characters.
This would cause output on most programs. Even DOS does not detect or
warn about this.
- Raw text -