Hi,

I tried to write a "streaming" implementation of a file system tree
traversal last weekend. I found that the order that the directories get
printed out is non-deterministic on windows (v0.8.22 and v0.10.0). On Linux
the order is arbitrary but consistent between runs (v0.8.22) or
alphabetical with respect to directory entries (v0.10.0).

Here is a link to a github gist with my code:

https://gist.github.com/zenlambda/5138747#file-ls-tree-js

What is causing the variation in behavior between platforms and versions?
Is my code not written in a portable way?

Thanks,

Frank

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to