diff options
author | Timothy E Baldwin <T.E.Baldwin99@members.leeds.ac.uk> | 2018-09-01 21:37:15 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-10-01 15:36:24 +0000 |
commit | 5739fa370f108c610b1e12af8cdcfd697b7ecc0d (patch) | |
tree | 862bef496d1268699da5eddfd31c596039c45424 | |
parent | 591b9dd90f50511b4208fa99b173273c7c0c3dcd (diff) | |
download | bubblewrap-5739fa370f108c610b1e12af8cdcfd697b7ecc0d.tar.gz |
Make lockdata long enough on 32-bit with 64-bit file pointers.
Closes: #288
Approved by: cgwalters
-rwxr-xr-x | tests/test-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-run.sh b/tests/test-run.sh index e68036d..b883b82 100755 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -200,7 +200,7 @@ if sys.argv[2] == 'wait': locktype = fcntl.F_SETLKW else: locktype = fcntl.F_SETLK -lockdata = struct.pack("hhllhh", fcntl.F_WRLCK, 0, 0, 0, 0, 0) +lockdata = struct.pack("hhqqhh", fcntl.F_WRLCK, 0, 0, 0, 0, 0) fd=open(sys.argv[1], 'a') try: fcntl.fcntl(fd.fileno(), locktype, lockdata) |