diff --git a/docs/history.txt b/docs/history.txt index 248a5ec..e93b709 100644 --- a/docs/history.txt +++ b/docs/history.txt @@ -23,6 +23,8 @@ * don't copy FCBs on exec if they are pointed to by FFFF:FFFF. * resolved warnings for Watcom (now compiles with -wx -we) * truename fix (return DE_FILENOTFND for foo.bar.foo) ++ Changes Jeremy + * fixed SYS _dos_getdrive for non-Borland compilers + Changes Tom and Bart * cleaned up fatfs.c, fattab.c, sysclk.c (CLOCK$ driver), systime.c 2002 Feb 17 - Build 2026a diff --git a/sys/sys.c b/sys/sys.c index bdd2cff..f26a456 100644 --- a/sys/sys.c +++ b/sys/sys.c @@ -268,6 +268,7 @@ int main(int argc, char **argv) srcDrive = (unsigned) getdisk(); #else _dos_getdrive(&srcDrive); + srcDrive--; #endif }