I've found out 'what' but not 'why'
The readonly test still works correctly for a file, but not for a directory.
In the on-line info about the access() command it says it works for both. Well
it did before but apparently it doesn't now :(
This is a big deal, as it was a very convenient way of making a quick check
before doing any file write operations from the GUI. If I can't do that then I
have to rewrite quite a lot of code. First in bank.cpp to get a number of
functions to return an error status, and second in the GUI to recognise these.
The actual command I'm using is:
access(pathname, W_OK);
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either:
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx