mirror of
https://github.com/deadw00d/AROS.git
synced 2026-03-21 04:36:15 +00:00
64-bit fix: key needs to be 64-bit wide so that pointer address is not lost
Detected by running automake where m4 is doing fstat on fd 1, which is piped. Sequence that was leading to crash was DupLockFromFH, UnLock.
This commit is contained in:
@ -524,7 +524,7 @@ static void InitPipedirLock ()
|
||||
void InitLock (lock, key)
|
||||
|
||||
struct FileLock *lock;
|
||||
LONG key;
|
||||
SIPTR key;
|
||||
|
||||
{ lock->fl_Link= 0;
|
||||
lock->fl_Key= key;
|
||||
|
||||
Reference in New Issue
Block a user