From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: BUG: DJGPP, argc and * Date: Wed, 11 Jun 1997 08:20:57 -0700 Organization: Alcyone Systems Lines: 16 Message-ID: <339EC259.2BA51985@alcyone.com> References: <199706110609 DOT JAA19858 AT andromeda DOT delta DOT edu DOT gr> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Kappas Ioannis wrote: > when we call the program with the asterisk, e.g. "a *" the argc is > returning > 109 instead of 2. Is this normal or is this a bug?? This is normal for DJGPP, because DJGPP is doing globbing with your command line options. See the info pages for how to disable it. -- Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Covenants without the sword / are but words." / Camden