1
0
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:
deadwood
2024-10-28 15:42:39 +01:00
parent c92d5bb031
commit 7b6c0e5578

View File

@ -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;