mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
@@ -125,7 +125,7 @@ index 0000000..cf23ca5
|
||||
+ fd = os.open(lockfile, os.O_RDONLY|os.O_NOCTTY|os.O_CREAT, 0o666)
|
||||
+ fcntl.flock(fd, fcntl.LOCK_EX)
|
||||
+ ret = subprocess.call(cmd_list)
|
||||
+ # Haiki bug -- lock is not released on file close?
|
||||
+ # Haiku bug -- lock is not released on file close?
|
||||
+ fcntl.flock(fd, fcntl.LOCK_UN)
|
||||
+ return ret
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user