Mail Archives: djgpp-workers/2000/06/13/11:50:19
> > trick Bash (and other Unix programs) use is inherently non-portable,
>
> Well Eli, I think I have to disagree, non-portable according to what ?
Non-portable to other OS's besides POSIX ones. POSIX is *not* the
only game in town.
> > so I think it's a good idea to remove it even on Unix.
>
> open()/unlink()/close() are very well documented in POSIX.
It doesn't matter. The fact that we're running on top of a DOS-type
file system limits the amount of posix compliance we can offer. Note
that POSIX also says that text files are \n, not \r\n, even though
ANSI says you can't assume that. DJGPP offers as much POSIX
compatibility as possible, given the limitations of DOS, but
programmers still have to be aware of the porting issues.
- Raw text -