X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Thu, 6 Dec 2001 09:37:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jeffrey Powell cc: djgpp AT delorie DOT com Subject: RE: Broken findfirst In-Reply-To: <000401c17ddf$5793af40$1002a8c0@ygtynecs01097> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 6 Dec 2001, Jeffrey Powell wrote: > Hello Eli, Please CC the news group on your messages. > Av[1] has the command line argument "C:\*.*" just as the hardcoded example > does. I have tried several variations (new, strdup, ...) yet the results is > the same. My configuration: > > Systems are Win2K & Win98. > I am sharing the Win2K drive through the LAN so the binaries are the same. > Command line is gcc -o djgpdir djgpdir.cpp What does "gcc --version" print? Also, does the problem happen in a C program as well as in a C++ program? (djgpdir.cpp is compiled as a C++ program.) > This fragement is part of a program that was written with the intent to do > some file renaming. If the above doesn't give any clues, please post a minimal complete program that exhibits the problem on your machine.