diff options
author | Guido van Rossum <guido@python.org> | 1996-09-11 19:07:45 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-09-11 19:07:45 +0000 |
commit | 28d4ba24c9e56149ac618d66ed89abdc58e42f76 (patch) | |
tree | 461ef138fa6cd198652c540ba292140f3ea113aa /Lib/dos_8x3/posixfil.py | |
parent | c458e945a44fa0d937105f8daafc31bb56101aaf (diff) | |
download | cpython-git-28d4ba24c9e56149ac618d66ed89abdc58e42f76.tar.gz |
Another batch...
Diffstat (limited to 'Lib/dos_8x3/posixfil.py')
-rwxr-xr-x | Lib/dos_8x3/posixfil.py | 3 |
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) |