Mail Archives: djgpp/2002/12/14/17:08:37
> From: CBFalconer <cbfalconer AT yahoo DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 14 Dec 2002 15:09:24 GMT
> >
> > C:\Programme\djgpp\projects>a
> ^^^^^^^^^
> > Exiting due to signal SIGSEGV
> > General Protection Fault at eip=00003180
> > eax=00000000 ebx=000084f9 ecx=00000000 edx=76202000 esi=00000054 edi=000656c4
> > ebp=000e5668 esp=000e5630 program=C:\PROGRA~1\DJGPP\PROJECTS\A.EXE
> ^^^^^^^^
> What is this? Indication of some filename setup mixup, or
> installation under the ridiculous Windoze "\Program files\"
> directory, etc.
When a DOS program is invoked on Windows, Windows replaces the long
name of every directory in its path with the short 8+3 alias, and
that's what the program gets in its argv[0]. The DJGPP crash message
uses argv[0] to print the program's name, thus the horribly ugly file
name above. (We could convert that to the original long name, but the
code to do that is non-trivial, and thus it was deemed unwise to run
it when the program has crashed and its core data structures might be
corrupted.)
- Raw text -