AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/LameLock.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Make AMOS progs read from muFS partitions
Author: tadek at student.uci.agh.edu.pl (Tadek Knapik)
Uploader:tadek student uci agh edu pl (Tadek Knapik)
Type:util/misc
Architecture:m68k-amigaos
Date:1996-11-17
Download:util/misc/LameLock.lha - View contents
Readme:util/misc/LameLock.readme
Downloads:809

	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


Contents of util/misc/LameLock.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  407     624  65.2% -lh5- 407c Nov 14  1996 LameLock/LameLock
[generic]                  527     918  57.4% -lh5- 6916 Nov 14  1996 LameLock/LameLock.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files     934    1542  60.6%            Nov 17  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>