summaryrefslogtreecommitdiff
path: root/Lib/dos_8x3/posixfil.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-11 19:07:45 +0000
committerGuido van Rossum <guido@python.org>1996-09-11 19:07:45 +0000
commit28d4ba24c9e56149ac618d66ed89abdc58e42f76 (patch)
tree461ef138fa6cd198652c540ba292140f3ea113aa /Lib/dos_8x3/posixfil.py
parentc458e945a44fa0d937105f8daafc31bb56101aaf (diff)
downloadcpython-git-28d4ba24c9e56149ac618d66ed89abdc58e42f76.tar.gz
Another batch...
Diffstat (limited to 'Lib/dos_8x3/posixfil.py')
-rwxr-xr-xLib/dos_8x3/posixfil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/dos_8x3/posixfil.py b/Lib/dos_8x3/posixfil.py
index f0df5433aa..fc5f53fe2c 100755
--- a/Lib/dos_8x3/posixfil.py
+++ b/Lib/dos_8x3/posixfil.py
@@ -196,6 +196,9 @@ class _posixfile_:
elif sys.platform in ['aix3', 'aix4']:
l_type, l_whence, l_start, l_len, l_sysid, l_pid, l_vfs = \
struct.unpack('hhlllii', flock)
+ elif sys.platform == "linux2":
+ l_type, l_whence, l_start, l_len, l_pid, l_sysid = \
+ struct.unpack('hhllhh', flock)
else:
l_type, l_whence, l_start, l_len, l_sysid, l_pid = \
struct.unpack('hhllhh', flock)