Mail Archives: djgpp/1997/06/05/18:37:25
George Foot wrote:
>
> Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
>
> Hmm, I've been following this for a while, and I just booted into
> Win95 and tried a few things I haven't seen discussed yet. Firstly I
> confirmed the problem existed on my system. Then, I wrote a short
> program which waited for a keypress, and tried running chkdsk in
> another DOS box - it worked fine. Then, I made a program to
> system("command") and ran chkdsk from that command prompt. The problem
> recurred.
>
> These show a few things:
>
> 1) It's not just Windows' reaction to running DPMI programs (chkdsk
> still works when a DPMI program is running)
>
> 2) It's not because chkdsk is being directly spawned by the DPMI
> program
>
> I also tried using PFE to execute CHKDSK (worked fine) and to start a
> DOS prompt and chkdsk there (again, it worked fine).
>
> Perhaps someone with Watcom could try a similar program there and see
> whether it suffers the same way?
i also verified all those. however, i think what is more significant is
the fact that the program
#include <stdlib.h>
int main(void)
{
return system("chkdsk");
}
works correctly when compiled using
gcc -Zwin32 chk.c -o chk.exe
(using the original ld.exe) with rsxntdj 1.3.1. i am not sure what this
shows. any ideas?
-- Sinan
- Raw text -