Date: Thu, 11 Jun 1998 20:31:39 +0300 (IDT) From: Eli Zaretskii To: Mapson cc: djgpp AT delorie DOT com Subject: Re: Changing filenames with DJGPP In-Reply-To: <357d5a3c.9190552@news.cis.yale.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 9 Jun 1998, Mapson wrote: > the rather worrisome "__file_exists." I am > relying pretty heavily on this __file_exists at the moment, and it > certainly looks good, and is easy, small and quick... one question, > though: can it reliably be expected to return "exists!" code also when > it finds a directory? Yes, it will work for directories as well. > Also, if someone has any good reasons I shouldn't use > __file_exists, please let me know- I already know it isn't > particularly ANSI nor portable, but beside that... It's only disadvantage is that it is DJGPP-specific, so you won't find it anywhere else. If you care about this, use `access' instead.