Mail Archives: djgpp/1994/10/05/14:08:40
I am using 1.12 (no maintenance releases installed yet).
Using
dummy \*
I get
\address.txt
address.txt is the first file (using collating sequence order) in directory
\.
Using
dummy \*a
I get
\cica
cica is the first directory (using collating sequence order) in directory \
that has an "a" in other than the first character of the name.
However, if te args are enclosed in " ", then it works.
Without the " ", the program works correctly using MS C 7.0.
> From: "Young U. Ryu" <ryoung AT utdallas DOT edu>
> Subject: DJGPP Bug?
>
> A very short program:
>
> /* dummy.c */
> main (argc, argv)
> int argc;
> char *argv[];
> {
> printf("%s\n",argv[1]);
> }
>
> C:\TEST> gcc -c dummy dummy.c
> C:\TEST> coff2exe dummy
> C:\TEST> dummy \*
> \ai <- This One !!!
> C:\TEST> dummy \*a
> \*a
>
> I tried other C compilers (including EMX/GCC). They returned:
>
> C:\TEXT> dummy \*
> \*
>
> (Of course, in Unix, * instead of \* is returned.)
>
> I am using DJGPP 1.12.maint2.
- Raw text -