Mail Archives: djgpp/1993/11/22/05:31:21
Hi!
Two bugs:
1. "gcc bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.c"
gives a GP fault at address 62626262 meaning that the file name probably
overwrites the stack. The file name should be rejected for being too
long for MSDOS; it should not crash the system.
2. Passing long argument via the environment (_argc=2, _argv1=...) only
works for bound executeables, i.e., it does not work when you say
"go32 myproc"
One question:
Is there a simple way to detect bound executeables, i.e., detecting if
an .exe file will take long arguments via the environment?
Morten Welinder
terra AT diku DOT dk
- Raw text -