www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/05/14:08:40

Date: Wed, 5 Oct 1994 10:23:20 -0400
From: Howard Kaikow <kaikow AT standards DOT com>
To: ryoung AT utdallas DOT edu
Subject: Re: DJGPP Bug?
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, kaikow AT standards DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019