Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jun 26, 2002 at 04:01:43PM +0200, Lars Gullik Bjønnes wrote: >> | // Is a file readable ? >> | bool IsFileReadable (string const & path) >> | { >> | FileInfo file(path); >> | if (file.isOK() && file.isRegular() && file.readable()) >> | return true; >> | else >> | return false; >> | } >> >> I do not see the joke... > | Reminded me of
Well it is some years since I wrote this now... (I am not sure that I did it even ...) I'd probably use return file.isOK() && file.isRegular() && file.readable(); now. -- Lgb