Mail Archives: djgpp/2000/04/15/02:22:08
Just a thought on this, from something I ran into while trying to compile an
old Turbo Pascal v7.0 program on Win2K, part of the code involved calling
command.com to do some stuff, and then spawning a child process for a few
other things, but I traced the crash to the moment that any child
process tried to do any file access, it died. So just an idea to look at
the code of SetEdit or anything, and see where it calls spawn(), or
maybe just try something that you know will write a file.
Endlisnis wrote:
>
> I tried some stuff in Win2k. What I found was a little puzzling...
>
> It only seems to crash after gcc has compiled something.
> I tried it with SetEdit as well. I told SetEdit to run "gcc a.cc -o a.exe".
> It ran fine, but then crashed when I hit a key (any key).
> I told SetEdit to run "ls". Proper output was printed, and that did not crash
> anything.
> I told SetEdit to run "gcc". The 'no input files' message was printed and i
> did not crash.
> I tried running bash, and then ls and other stuff from there. Nothing caused
> a crash.
>
> Maybe it had to do with whether the sub-djgpp program opens files... I'll
> check that later...
>
> --
> (\/) Endlisnis (\/)
> s257m AT unb DOT ca
> Endlisnis AT HotMail DOT com
> ICQ: 32959047
--
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail : robbat2 AT tesla DOT t-p-l DOT com
ICQ# : 30269588 or 41961639
Home Page : http://robbat2.t-p-l.com
Time Zone : Pacific Daylight (GMT - 8)
- Raw text -