mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
Try calling getpid() from /usr/lib/libc.so instead of some other
random things.
This commit is contained in:
parent
c9f8f1467e
commit
a6ed2254e1
1 changed files with 1 additions and 4 deletions
|
|
@ -7,10 +7,7 @@ import dl
|
||||||
from test_support import verbose
|
from test_support import verbose
|
||||||
|
|
||||||
sharedlibs = [
|
sharedlibs = [
|
||||||
# SunOS/Solaris
|
('/usr/lib/libc.so', 'getpid'),
|
||||||
('/usr/lib/libresolv.so', 'gethostent'),
|
|
||||||
# SGI IRIX
|
|
||||||
('/usr/lib/libm.so', 'sin'),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
for s, func in sharedlibs:
|
for s, func in sharedlibs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue