eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 
readdir: file order (Read 1389 times)
Wotan
eAuction Novice
*
Offline



Posts: 4
Novosibirsk, Russia
Gender: male
Re: readdir: file order
Reply #3 - 02/17/05 at 14:35:56
 
Btw, here is more info about it
Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: readdir: file order
Reply #4 - 02/17/05 at 15:22:19
 
Be sure - it IS a Redhat-Bug ...
The file order of a directory has to be
.
..
filename_1
filename_x
filename_n

As far as I could read, they hold the structure of a directory in a hash - but a hash is unsorted.

Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Wotan
eAuction Novice
*
Offline



Posts: 4
Novosibirsk, Russia
Gender: male
Re: readdir: file order
Reply #5 - 02/17/05 at 17:07:52
 
Sorry, I am still not sure. Here is the PHP doc for readdir (I just don't have a perl doc).

Code:
Description
string readdir ( resource dir_handle)

Returns the filename of the next file from the directory. The filenames are returned in the order in which they are stored by the filesystem.




I.e. if a filesystem has the files unsorted, this is matter of the filesystem. You CAN'T relay on any order of the files actually.
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 3 


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only