Boost logo

Boost :

From: Ross Smith (r-smith_at_[hidden])
Date: 2002-03-28 17:14:42


"Stewart, Robert" wrote:
>
> From: Ross Smith [mailto:r-smith_at_[hidden]]
> >
> > If is_readonly() doesn't actually tell you whether the file is
> > read-only, what possible use could it be?
>
> The purpose of this library is to enable scripting. Therefore, one must
> ask, "What does a script do to test for write-ability?" Answer: "test -w
> pathname" or its equivalent in the various shells. Who's got access to
> implementations of test or shells that do it themselves? What does "test
> -w" -- or whatever syntax your favorite shell uses -- do? (ksh, for
> example, provides syntactic sugar for test, but ultimately calls test. I'm
> guessing that there are shells that do the test themselves rather than
> running test.)

What on earth does any of that have to do with it?

-- 
Ross Smith ...................................... Auckland, New Zealand
r-smith_at_[hidden] ....................................................
  "We need a new cosmology. New gods. New sacraments. Another drink."
                                                       -- Patti Smith

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk