[BUG] FileDirectory>>exists

Tim Rowledge tim at sumeru.stanford.edu
Tue Jun 10 21:17:23 UTC 2003


John M McIntosh <johnmci at smalltalkconsulting.com> wrote:

> 
> On Tuesday, June 10, 2003, at 06:52  AM, Ned Konz wrote:

> > I'd much prefer to expose stat() to the Squeak layers for Unix boxes.
> >
> > Like the work you've done on the serial ports, it makes sense for some
> > of this stuff to actually take care of the platform differences at
> > the Squeak level, rather than in the primitives.
> >
> 
> Mmm thought/hope someone was rewriting, reviewing the file/steam  
> classes, like the socket stuff.
> Is stat() exist across  *all* unix or unix like or clib supported  
> systems?
I suspect this is another place where a well crafted bridge class would
be useful, along with some platform specific plugin classes. stat() is
probably pretty universal amongst *nix systems but it's far from
universal on other OSs. Just for starters not all OSs have separate
timestamps for created/modified.

tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: HALT: No-Op



More information about the Squeak-dev mailing list