Mail Archives: djgpp-workers/1999/10/03/06:26:34
On Thu, 30 Sep 1999, Laurynas Biveinis wrote:
> If I run test, I get:
>
> Hello from VeryLongName.exe!
> c:/djgpp/programs/djgpp/verylong.exe
>
> Correct. But If delete '/*' and '*/' from test.c to
> enable long command line, I get:
>
> Hello from VeryLongName.exe!
>
> And argv[0] is _not_ printed.
I cannot reproduce this; on my machine argv[0] _is_ printed.
Did you change anything in dosexec.c, system.c, or the startup code?
If so, perhaps those changes are responsible.
If this happens with stock libc.a, please send me the exact source of
both files which, when compiled, exhibit this behavior (I don't want
to guess what exactly did you remove from test.c to enable the long
command line).
Also note that test.c is a bad name for a test program, since some
shells have a built-in command named `test'. (I doubt this is your
problem, though. But anyway, my test program is called `lfntest', not
`test'.)
- Raw text -