🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #926

Re: Is findfirst/findnext deterministic? (same order each time)?

#926
From: Marko Kohtala
Date: Sun, 03 Jan 1993 17:50
19 lines
1507 bytes
In <JViRwB4w165w@vsystem.wimsey.bc.ca> rick@vsystem.wimsey.bc.ca (Rick Vandenberg) writes:
>pdh@netcom.com (Phil Howard ) writes:
>> raymond@kronos.arc.nasa.gov (Eric A. Raymond) writes:
>> >Are the DOS findfirst/findnext directory functions deterministic.
>> >That is, will they report the files in the same order for a given
>> >disk?

To make a point to all the replies to this question, I must remind you
that not much is guaranteed of the operation of those functions.
OS/2, NT and any installable file system will implement their own ways
to order the files. 

So one should not rely on some file system feature that depends on FAT
and MS-DOS, at least unless makes sure there IS FAT and MS-DOS and not
some emulator.
-- 
---
Marko Kohtala - INTERNET:Marko.Kohtala@hut.fi, mkohtala@otax.tky.hut.fi
Student at (not representative of) the Helsinki University of Technology
Technical Details
Message-ID: <mkohtala.726083425@vipunen.hut.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!vipunen.hut.fi!mkohtala
References: <1993Jan2.071846.22403@netcom.com> <JViRwB4w165w@vsystem.wimsey.bc.ca>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!vipunen.hut.fi!mkohtala
From: mkohtala@lesti.hut.fi (Marko Kohtala)
Subject: Re: Is findfirst/findnext deterministic? (same order each time)?
Message-ID: <mkohtala.726083425@vipunen.hut.fi>
Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
Nntp-Posting-Host: lesti.hut.fi
Reply-To: Marko.Kohtala@hut.fi
Organization: Helsinki University of Technology, Finland
References: <1993Jan2.071846.22403@netcom.com> <JViRwB4w165w@vsystem.wimsey.bc.ca>
Date:  3 Jan 93 17:50:25 GMT
Lines: 19