Mail Archives: djgpp-workers/2001/01/02/14:37:01
According to Eli Zaretskii:
> It depends. IMHO, you should only call _get_dos_version(1) if you
> absolutely _must_ know the real DOS version. That is, if using a
> version reported by SETVER and such likes will crash and burn the
> program. For example, if you write code that depends on the exact
> layout of some internal DOS data structure, which is
> version-dependent.
>
> However, if using the wrong version simply disables some feature, it's
> not a reason good enough to call _get_dos_version(1), because that
> issues an undocumented DOS call. It is okay for DJGPP programs to
> obey SETVER, in general.
So _open.c and friends and statfs.c should use _get_dos_version(0)?
Right,
MartinS
- Raw text -