[Python-modules-commits] r12901 - in packages/python-docutils/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu May 13 12:47:46 UTC 2010


    Date: Thursday, May 13, 2010 @ 12:47:41
  Author: jwilk
Revision: 12901

Emacs major mode: properly quote arguments passed to shell
(closes: #581522, LP: #579252).

Added:
  packages/python-docutils/trunk/debian/patches/emacs-shell-quote.diff
Modified:
  packages/python-docutils/trunk/debian/changelog
  packages/python-docutils/trunk/debian/patches/series

Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog	2010-05-13 01:05:23 UTC (rev 12900)
+++ packages/python-docutils/trunk/debian/changelog	2010-05-13 12:47:41 UTC (rev 12901)
@@ -12,8 +12,10 @@
     + Build-depend on python-all.
     + Apply patch from upstream (alltests-exitcode.diff) to make test suite
       runner exit with code 0 if all test passes.
+  * Emacs major mode: properly quote arguments passed to shell
+    (closes: #581522, LP: #579252).
 
- -- Jakub Wilk <jwilk at debian.org>  Wed, 31 Mar 2010 11:28:12 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Thu, 13 May 2010 14:10:24 +0200
 
 python-docutils (0.6-3) unstable; urgency=low
 

Added: packages/python-docutils/trunk/debian/patches/emacs-shell-quote.diff
===================================================================
--- packages/python-docutils/trunk/debian/patches/emacs-shell-quote.diff	                        (rev 0)
+++ packages/python-docutils/trunk/debian/patches/emacs-shell-quote.diff	2010-05-13 12:47:41 UTC (rev 12901)
@@ -0,0 +1,22 @@
+Description: Properly quote arguments passed to shell.
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: no
+Bug-Debian: http://bugs.debian.org/581522
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/579252
+
+--- a/tools/editors/emacs/rst.el
++++ b/tools/editors/emacs/rst.el
+@@ -3273,10 +3273,10 @@
+                     (list command
+                           (or options "")
+                           (if conffile
+-                              (concat "--config=\"" conffile "\"")
++                              (concat "--config=" (shell-quote-argument conffile))
+                             "")
+-                          bufname
+-                          (concat outname extension))
++                          (shell-quote-argument bufname)
++                          (shell-quote-argument (concat outname extension)))
+                     " "))
+ 
+     ;; Invoke the compile command.

Modified: packages/python-docutils/trunk/debian/patches/series
===================================================================
--- packages/python-docutils/trunk/debian/patches/series	2010-05-13 01:05:23 UTC (rev 12900)
+++ packages/python-docutils/trunk/debian/patches/series	2010-05-13 12:47:41 UTC (rev 12901)
@@ -4,6 +4,7 @@
 13_install_roman.diff
 14_use_setuptools.diff
 emacs-temporary-files.diff
+emacs-shell-quote.diff
 15_emacs_debian_paths.diff
 16_disable_picins.diff
 17_revert_buildhtml.diff




More information about the Python-modules-commits mailing list