Changeset 294357 in webkit
- Timestamp:
- May 17, 2022, 4:17:45 PM (4 years ago)
- Location:
- releases/WebKitGTK/webkit-2.36/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/check-for-invalid-symbols-in-version-script (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.36/Tools/ChangeLog
r294356 r294357 1 2022-05-17 Adrian Perez de Castro <aperez@igalia.com> 2 3 Fix Tools/Scripts/check-for-invalid-symbols-in-version-script 4 https://bugs.webkit.org/show_bug.cgi?id=240543 5 6 Unreviewed build fix. 7 8 * Tools/Scripts/check-for-invalid-symbols-in-version-script: Change 9 shebang to use "python3", and pass an "encoding" argument to the Popen 10 constructor to read strings instead of bytes from the subprocess pipe. 11 1 12 2022-03-03 Lauro Moura <lmoura@igalia.com> 2 13 -
releases/WebKitGTK/webkit-2.36/Tools/Scripts/check-for-invalid-symbols-in-version-script
r271151 r294357 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 3 3 import subprocess … … 26 26 27 27 symbols = script_symbols(sys.argv[1]) 28 p = subprocess.Popen(['objdump', '-t', '-C', sys.argv[2]], stdout=subprocess.PIPE )28 p = subprocess.Popen(['objdump', '-t', '-C', sys.argv[2]], stdout=subprocess.PIPE, encoding="ascii") 29 29 data = p.communicate()[0] 30 30
Note:
See TracChangeset
for help on using the changeset viewer.