delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/21/18:51:35

Date: Wed, 21 Sep 1994 19:12:37 -0500
From: "Young U. Ryu" <ryoung AT utdallas DOT edu>
Subject: DJGPP Bug?
To: djgpp AT sun DOT soe DOT clarkson DOT edu

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.

Any idea about this?

Young

+-------------------------------------------------------------------+
| Young U. Ryu                        JO 4.4, P.O.Box 830688        |
| Assistant Professor of MIS          2061 N. Floyd Road            |
| School of Management                Richardson, Texas 75083-0688  |
| University of Texas at Dallas       U.S.A.                        |
|                                                                   |
| Fax:   214-690-2799                 Internet: ryoung AT utdallas DOT edu |
+-------------------------------------------------------------------+




- Raw text -


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