Message-ID: <00d901c152a0$398d6fa0$845824d5@zephyr> From: "Eric Botcazou" To: "DJGPP workers" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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