🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #919

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

#919
From: Phil Howard
Date: Sat, 02 Jan 1993 07:18
15 lines
1242 bytes
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?

Not unless the files are on there in exactly the same order.  You get
the files in the order they are in the directory data blocks themselves.
I am working on a program where I want the files in a more deterministic
way, and I sort them myself.
-- 
/************************************************************************\
| Phil Howard,  pdh@netcom.com,  KA9WGN    Spell protection?  "1(911)A1" |
| "It's not broken... it's just functionally challenged" --Phil and Pete |
\************************************************************************/
Technical Details
Message-ID: <1993Jan2.071846.22403@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh
References: <1993Jan2.020431.14831@kronos.arc.nasa.gov>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh
From: pdh@netcom.com (Phil Howard )
Subject: Re: Is findfirst/findnext deterministic? (same order each time)?
Message-ID: <1993Jan2.071846.22403@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
References: <1993Jan2.020431.14831@kronos.arc.nasa.gov>
Date: Sat, 2 Jan 1993 07:18:46 GMT
Lines: 15