mirror of https://github.com/python/cpython
bpo-36503: remove references to 'aix3' and 'aix4' (GH-12658)
This commit is contained in:
parent
6463ba3061
commit
b7eec94c0e
|
@ -34,7 +34,7 @@ def get_lockdata():
|
||||||
fcntl.F_WRLCK, 0)
|
fcntl.F_WRLCK, 0)
|
||||||
elif sys.platform.startswith('gnukfreebsd'):
|
elif sys.platform.startswith('gnukfreebsd'):
|
||||||
lockdata = struct.pack('qqihhi', 0, 0, 0, fcntl.F_WRLCK, 0, 0)
|
lockdata = struct.pack('qqihhi', 0, 0, 0, fcntl.F_WRLCK, 0, 0)
|
||||||
elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
|
elif sys.platform in ['hp-uxB', 'unixware7']:
|
||||||
lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
|
lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
|
||||||
else:
|
else:
|
||||||
lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
|
lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
|
||||||
|
|
|
@ -476,6 +476,7 @@ Jim Fasarakis-Hilliard
|
||||||
Mark Favas
|
Mark Favas
|
||||||
Sergey Fedoseev
|
Sergey Fedoseev
|
||||||
Boris Feld
|
Boris Feld
|
||||||
|
M. Felt
|
||||||
Thomas Fenzl
|
Thomas Fenzl
|
||||||
Niels Ferguson
|
Niels Ferguson
|
||||||
Francisco Fernández Castaño
|
Francisco Fernández Castaño
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Remove references to "aix3" and "aix4".
|
||||||
|
Patch by M. Felt.
|
3
setup.py
3
setup.py
|
@ -1882,9 +1882,6 @@ class PyBuildExt(build_ext):
|
||||||
libs.append('tk'+ version)
|
libs.append('tk'+ version)
|
||||||
libs.append('tcl'+ version)
|
libs.append('tcl'+ version)
|
||||||
|
|
||||||
if HOST_PLATFORM in ['aix3', 'aix4']:
|
|
||||||
libs.append('ld')
|
|
||||||
|
|
||||||
# Finally, link with the X11 libraries (not appropriate on cygwin)
|
# Finally, link with the X11 libraries (not appropriate on cygwin)
|
||||||
if not CYGWIN:
|
if not CYGWIN:
|
||||||
libs.append('X11')
|
libs.append('X11')
|
||||||
|
|
Loading…
Reference in New Issue