home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1997 #3
/
amigamamagazinepolishissue03-1
/
polski_aminet
/
tadek_knapik
/
lamelock
/
lamelock.readme
< prev
Wrap
Text File
|
1996-11-14
|
918b
|
23 lines
Short: Make AMOS progs read from muFS partitions
Uploader: tadek@student.uci.agh.edu.pl (Tadek Knapik)
Author: tadek@student.uci.agh.edu.pl (Tadek Knapik)
Type: util/misc
Have you noticed that some programs can't read files when you
have muFS installed? This is caused by improper use of dos.library's
Lock(). Instead of ACCESS_READ or ACCESS_WRITE the proggy sets in d2
something else.
This patch tests d2 before calling Lock(), and if it is not
ACCESS_WRITE, it is set to ACCESS_READ. NOTE: This is just a quick hack
and it may collide with future enhancements of Lock() (when more than
those two modes are available). But it is rarely needed just for lame
AMOS programs, and those should die before any new system is born.
REQUIRES patch.library V5 (found on Aminet: util/libs)
The usage is simple: run to install, run again to remove.
Thanks to Stefan Fuchs for the patch.library!
Tadek Knapik