⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 294357 in webkit


Ignore:
Timestamp:
May 17, 2022, 4:17:45 PM (4 years ago)
Author:
Adrian Perez de Castro
Message:

Fix Tools/Scripts/check-for-invalid-symbols-in-version-script
​https://bugs.webkit.org/show_bug.cgi?id=240543

Unreviewed build fix.

  • Tools/Scripts/check-for-invalid-symbols-in-version-script: Change

shebang to use "python3", and pass an "encoding" argument to the Popen
constructor to read strings instead of bytes from the subprocess pipe.

Location:
releases/WebKitGTK/webkit-2.36/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.36/Tools/ChangeLog

    r294356 r294357  
     12022-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
    1122022-03-03  Lauro Moura  <lmoura@igalia.com>
    213
  • 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
    22
    33import subprocess
    … …  
    2626
    2727symbols = script_symbols(sys.argv[1])
    28 p = subprocess.Popen(['objdump', '-t', '-C', sys.argv[2]], stdout=subprocess.PIPE)
     28p = subprocess.Popen(['objdump', '-t', '-C', sys.argv[2]], stdout=subprocess.PIPE, encoding="ascii")
    2929data = p.communicate()[0]
    3030
Note: See TracChangeset for help on using the changeset viewer.