From fnaumann@mail.cs.uni-magdeburg.de Mon Oct 4 11:29:01 2004 Message-ID: <416118E7.10107@utbm.fr> Date: Mon, 04 Oct 2004 11:33:27 +0200 From: Olivier Landemarre User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Naumann CC: mint@lists.fishpool.fi Subject: Re: [MiNT] System call bindings References: <695F17FC-1546-11D9-92FA-00039357F826@epfl.ch> <4160FEE8.7080203@utbm.fr> <41610495.5050704@utbm.fr> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=2.1 required=5.0 tests=BAYES_90 autolearn=no version=2.64 X-Spam-Level: Score:** X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on portail1.utbm.fr X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: olivier.landemarre@utbm.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel Frank Naumann wrote: > Hello! > >>> That's not the issue I meant :-) >>> The DTA is not used for long filenames. To search files using long >>> filenames there exist new calls Dopendir(), Dreaddir(), Dclosedir(). >>> Fsfirst() and Fsnext() which use the DTA structure should only be >>> used for compatibility purposes. >>> And I think a modern system supporting long filenames would never >>> try to squeeze a long filename into a DTA structure (of which the >>> system doesn't know if there is space for more than 14 characters. >> >> >> No Mint support this! (not Magic) I use for for near 7 years with >> Pdomain(1)! > > > I can't aggree. FreeMiNT use opendir/readdir/closedir to emulate > Fsfirst/Fsnext. And the readdir dispatch pass a buffer of 14 bytes > down to the xfs and copy this over into the DTA buffer. I really > wonder how you get long filenames through FreeMiNT Fsfirst/Fsnext. > > Take a look on the implementation: > > http://sparemint.atariforge.net/cgi-bin/cvsweb/freemint/sys/dosdir.c?rev=1.22&content-type=text/x-cvsweb-markup > > Ok I see. Why not copy directly name if Pdomain(1) thread is active, this will be more logical, is there any trouble with this? Olivier