[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27165] [NSFileManager enumeratorAtPath] not sorted

From: Richard Frith-Macdonald
Subject: [bug #27165] [NSFileManager enumeratorAtPath] not sorted
Date: Tue, 04 Aug 2009 13:45:18 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19

Update of bug #27165 (project gnustep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #2:

Derek Fawcus emailed to say:

> But on osx does it depend upon the file system type?  I believe HFS stores
> sorted directory entries,  but e.g. UFS does not.  So how will osx operate
> with a UFS formatted .dmg?

Now this suggests that the OSX implementation does not generally enumerate in
alphabetical order, but probably enumerates in the order that the filesystem
provides things.

In which case, encouraging developers to depend on an alphabetic order
enumeration in GNUstep would be incompatible with OSX and reduce portability
... a bad thing.

So, I'm marking this bug as invalid/closed.  However, if the original
submitter can confirm that the OSX behavior is to enumerate in alphabetical
order on all filesystems (ie with a good test at least on UFS and network
mounted (windows) filesystems where the files are known to be stored in a
non-alphabetical order) then we can re-open it.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]