On Monday 07 January 2002 3:59 pm, you wrote: > When I wrote the newFile it did excatly what I wanted it do. -> run > the stat on the new file. > nice for loops etc.
I think it still does, which just leaves John's comment to understand! Angus FileInfo & FileInfo::newFile(string const & path, bool link) { fname = path; status = 0; err = NoErr; dostat(link); return *this; } FileInfo & FileInfo::newFile(int fildes) { status = 0; err = NoErr; status = fstat(fildes, &buf); if (status) err = errno; return *this; }