home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky alt.msdos.programmer:3064 comp.os.msdos.programmer:11744
- Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
- Path: 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
-
- 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 |
- \************************************************************************/
-