1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/waftools/generators
sfan5 6bb73040dd 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.
2020-11-22 17:16:57 +01:00
..
__init__.py
headers.py build: add all configure flags as conditional flags to Swift compiler 2019-07-21 18:13:07 +03:00
sources.py file2string: remove question mark from safe chars 2020-11-22 17:16:57 +01:00