Subject: SV: bug with gcc with findfirst/findnext
From: [email-masked] (Sune Falck)

7 Nov 1998 03:45:52 -0800
Message-ID: <003301be0904$fb656d00$0c00a8c0.cygnus.gnu-win32@suf-hempc>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
To: "root" <[email-masked]>, <[email-masked]>

Sorry, it is not a bug but an effect of the argument parsing code.

Your program runs perfect if the search pattern is quoted
like findfiles "*.*".

If no quotes are used, the argument is expanded by
the startup code and that leaves the first matching file
as argument 1 which explains your finding.

/Sune Falck

PS I thing there are a global variable which can be set/unset
to avoid the argument expansion.

-----Ursprungligt meddelande-----
Från: root <[email-masked]>
Till: [email-masked] <[email-masked]>
Datum: den 5 november 1998 22:04
Ämne: bug with gcc with findfirst/findnext

>The functions
>_findfirst
>and 
>_findnext
>Will not work with the last version of gcc (mingw32).
>
>Here is an example of the problem (under windows nt 4.0, SP3)

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".