From: Thomas Witt (witt_at_[hidden])
Date: 2005-05-03 12:40:36
Beman Dawes wrote:
> I've completed an analysis of expectations for the exists() and is_xxx()
> family of functions, and the previously suggested status() and
> symlink_status() functions.
> See http://www.esva.net/~beman/filesystem_operations_predicates.htm
> Thanks to Peter Dimov, Rob Stewart, and Jeff Garland for their
> suggestions. Errors are mine alone.
Hmm, what's the benefit of having symlink_status() and status() ?
Wouldn't one function suffice that sets the symlink flag when a symlink
is encoutered on the way. I.e.
symlink_flag | directory_flag
identifies a symlink pointing to a directory
symlink_flag | not_found_flag
identifies a symlink pointing to a non existing file/dir
and so on ...
> Unsubscribe & other changes:
-- Thomas Witt witt_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk