If I have understood things correctly I can't use -w or -W to determine if a
file is locked or not. So I tried figuring out how to get info using the
Mac::Files module and the FSpGetCatInfo function to get the information.

According to the module info:

U16 fdFlags  lags ex. hasbundle, invisible,locked, etc.

But how do I get the locked flag etc. I tried different ways of writing this 
and looking at the source but it seems that I don't understand this (as usual
8-) so if someone could point me to a short example I would be grateful.



                    jem
--
Jan Erik Moström                             mailto:[EMAIL PROTECTED]
Free Elektron                      http://www.mostrom.pp.se/folk/jem/

Reply via email to