From 8d6573d1304a3dbcdb01d1ed074aed6633d86835 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 29 Apr 2013 09:58:19 -0400 Subject: [PATCH] Properly quote command line arguments. Patch from JMarc. Fixes bug #8648. --- lib/configure.py | 4 ++-- status.20x | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index cad150282e..71f7521ec3 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -330,13 +330,13 @@ def addEditorAlternatives(rcs): if len(rcs) == 1: m = r.match(rcs[0]) if m: - alt = r'\editor_alternatives ' + m.group(1) + " %%" + alt = r'\editor_alternatives ' + m.group(1) + ' "%%"' elif len(rcs) > 1: m = r.match(rcs[idxx]) if m: if idxx > 0: alt += '\n' - alt += r'\editor_alternatives ' + m.group(1) + " %%" + alt += r'\editor_alternatives ' + m.group(1) + ' "%%"' return alt diff --git a/status.20x b/status.20x index a5c8e92369..f3e58c5551 100644 --- a/status.20x +++ b/status.20x @@ -226,3 +226,6 @@ What's new - Avoid annoying warnings with newer gcc versions. +- Properly quote arguments in configuration (bug 8648). + + -- 2.39.5