delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/07/14:21:56

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Tue, 07 May 2002 21:18:29 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Hugo Simon" <hugo DOT simon AT gmx DOT de>
Message-Id: <7443-Tue07May2002211829+0300-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <005b01c1f5e1$dfe8b0a0$3364a8c0@tpc2> (hugo.simon@gmx.de)
Subject: Re: Hacking long file names from pure DOS
References: <016f01c1f5da$d87e0e20$0200a8c0 AT peridot> <005b01c1f5e1$dfe8b0a0$3364a8c0 AT tpc2>
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

> From: "Hugo Simon" <hugo DOT simon AT gmx DOT de>
> Date: Tue, 7 May 2002 18:11:40 +0200
> 
> > while (de = readdir(d))
> Maybe that readdir is not compatible with long filenames, I newer tried it.
> You can use findfirst/findnext, it works fine in my application.

Not only is readdir compatible with long file names (otherwise it
would not work on Windows 9X as well), but it also calls
findfirst/findnext internally.

- Raw text -


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