1 diff -rup Python-2.5.1-orig/Lib/ctypes/util.py Python-2.5.1/Lib/ctypes/util.py
2 --- Python-2.5.1-orig/Lib/ctypes/util.py 2007-01-17 14:53:24.000000000 -0500
3 +++ Python-2.5.1/Lib/ctypes/util.py 2007-10-24 11:06:12.000000000 -0400
4 @@ -71,9 +71,13 @@ elif os.name == "posix":
7 cmd = "objdump -p -j .dynamic 2>/dev/null " + f
8 - res = re.search(r'\sSONAME\s+([^\s]+)', os.popen(cmd).read())
10 + res = re.search(r'\sSONAME\s+([^\s]+)', os.popen(cmd).read())
15 + return os.path.basename(f) # This is good for GLibc, I think, and a
16 + # dep on binutils is big (for live CDs).
19 if (sys.platform.startswith("freebsd")
20 Only in Python-2.5.1/Lib/ctypes: util.py~
21 Only in Python-2.5.1/Lib/ctypes: util.py.binutils-no-dep