delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/14/08:04:40

From: Erik Max Francis <max AT alcyone DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


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