You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Fix wrong escaping of quote/slash characters in patchupdater script (thanks felixonmars).
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -1,4 +1,5 @@
|
||||
wine-compholio (1.7.30) UNRELEASED; urgency=low
|
||||
* Fix wrong escaping of quote/slash characters in patchupdater script.
|
||||
* Added additional conversion functions to DXTn patch.
|
||||
* Added patch to filter specific warning messages for D3DCompileShader.
|
||||
* Added patch to implement iphlpapi stub functions.
|
||||
|
2
debian/tools/patchupdate.py
vendored
2
debian/tools/patchupdate.py
vendored
@@ -528,7 +528,7 @@ def generate_makefile(all_patches):
|
||||
fp.write("\t@( \\\n")
|
||||
for info in patch.authors:
|
||||
if not info.subject: continue
|
||||
s = info.subject.replace("\\", "\\\\\\\\").replace("\"", "\\\\\"").replace("'", "'\\''")
|
||||
s = info.subject.replace("\\", "\\\\").replace("\"", "\\\"").replace("'", "'\\''")
|
||||
if info.revision and info.revision != "1": s += " [rev %s]" % info.revision
|
||||
fp.write("\t\techo '+ { \"%s\", \"%s\", \"%s\" },'; \\\n" % (patch.name, info.author, s))
|
||||
fp.write("\t) > %s.ok\n" % patch.name)
|
||||
|
Reference in New Issue
Block a user