[squeak-dev] Strange Unix file behavior?

Randal L. Schwartz merlyn at stonehenge.com
Thu Aug 7 16:02:30 UTC 2008


>>>>> "Tony" == Tony Garnock-Jones <tonyg at lshift.net> writes:

Tony> This reinforces my prejudice that interrogating directories is something
Tony> that ought to be done via some other protocol than the byte- or
Tony> string-oriented stream protocols.

Yes, as an abstraction, I think opening a readstream on a directory might be
worthy of refusing.  Even if it would work on Unix-like things (for some
meaning of "work"), it's probably gonna be really nasty in other environments,
and clearly not portable.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



More information about the Squeak-dev mailing list