summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-11-22 15:27:02 +0100
committersfan5 <sfan5@live.de>2020-11-22 17:16:57 +0100
commit6bb73040dd7447f9f45685f7f8dd5b53abc58485 (patch)
treebad6a40cf42f6d4e19ded1fe4e9925eb00e36897 /bootstrap.py
parent4dcaf70b9653cd04c2159fac6545f25f8e1cbcf9 (diff)
downloadmpv-6bb73040dd7447f9f45685f7f8dd5b53abc58485.tar.bz2
mpv-6bb73040dd7447f9f45685f7f8dd5b53abc58485.tar.xz
file2string: remove question mark from safe chars
Trigraphs such as "??=" (which are enabled by default with -std=c11) can mess up strings, so avoid them entirely by escaping question marks. This also drops Python 2 compatibility from file2string, making the change to the waf rule necessary. The input file is now opened in binary mode which is also more correct versus the old text mode which just happened to work even on binary files.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions