#: 10198 S12/OS9/68000 (OSK)
10-Apr-91 21:57:55
Sb: #10170-file security help
Fm: Bob van der Poel 76510,2203
To: Pete Lyall 76703,4230 (X)
Pete, Thanks for the earlier help with my open files delimma. Actually, the
solution was pretty simple: When I go to save a file I open it for write in an
non-shareable mode. If the file is currently being read by another process
(like my help function) the open will fail and I can alert the user. Tricky
stuff this OS-9. What gets me mad is that I spent hours developing complicated
schemes using file locking, etc. which didn't work - oh well, the joys of
programming.
|