delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/11/18:03:25

Message-ID: <00d901c152a0$398d6fa0$845824d5@zephyr>
From: "Eric Botcazou" <ebotcazou AT libertysurf DOT fr>
To: "DJGPP workers" <djgpp-workers AT delorie DOT com>
References: <10110111357 DOT AA18726 AT clio DOT rice DOT edu> <006601c15277$3736ab00$d27824d5 AT zephyr> <1659-Thu11Oct2001211157+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: _findfirst() patch
Date: Thu, 11 Oct 2001 23:55:22 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Reply-To: djgpp-workers AT delorie DOT com

> No, this is slightly different.  _dos_findfirst only supports short
> file names, for compatibility with DOS MSC compilers.  So it is not
> equivalent to findfirst.

Yes, but half of the code of findfirst()/findnext() is duplicated in
_dos_findfirst()/_dos_findnext(), so why not let the former functions call
the latter if LFN is set to N ?

> Don't worry about this, we don't have any problems with adding a few
> more modules to the library.

Ok, I can do it. But first I would like to know in which directory to put
these low-level functions and in which header file to declare them
(libc/dosio.h ?). Same thing for my helper function __dostime_to_time_t().
According to DJ's rules, I think there is no need to document them in a .txh
file, only in their source file.

--
Eric Botcazou
ebotcazou AT multimania DOT com

- Raw text -


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