mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Another batch...
This commit is contained in:
parent
c458e945a4
commit
28d4ba24c9
8 changed files with 54 additions and 28 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue