This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
SV: bug with gcc with findfirst/findnext
- To: "root" <root at jacob dot remcomp dot fr>, <gnu-win32 at cygnus dot com>
- Subject: SV: bug with gcc with findfirst/findnext
- From: "Sune Falck" <sunef at hem dot passagen dot se>
- Date: Thu, 5 Nov 1998 22:39:46 +0100
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 <root@jacob.remcomp.fr>
Till: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
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
"gnu-win32-request@cygnus.com" with one line of text: "help".