From 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 27 Feb 2010 14:05:10 +0000 Subject: Convert to source format 3.0 (quilt). --- debian/patches/scp-quoting.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/patches/scp-quoting.patch (limited to 'debian/patches/scp-quoting.patch') diff --git a/debian/patches/scp-quoting.patch b/debian/patches/scp-quoting.patch new file mode 100644 index 000000000..80c1b2a24 --- /dev/null +++ b/debian/patches/scp-quoting.patch @@ -0,0 +1,23 @@ +Index: b/scp.c +=================================================================== +--- a/scp.c ++++ b/scp.c +@@ -168,8 +168,16 @@ + + if (verbose_mode) { + fprintf(stderr, "Executing:"); +- for (i = 0; i < a->num; i++) +- fprintf(stderr, " %s", a->list[i]); ++ for (i = 0; i < a->num; i++) { ++ if (i == 0) ++ fprintf(stderr, " %s", a->list[i]); ++ else ++ /* ++ * TODO: misbehaves if a->list[i] contains a ++ * single quote ++ */ ++ fprintf(stderr, " '%s'", a->list[i]); ++ } + fprintf(stderr, "\n"); + } + if ((pid = fork()) == -1) -- cgit v1.2.3