diff options
author | Colin Watson <cjwatson@debian.org> | 2010-02-27 14:05:10 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-02-27 14:05:10 +0000 |
commit | 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 (patch) | |
tree | 2e0d8058bdfc24a60a20c5bcbfd1075ef1048ff3 /debian/patches/banner-noslash.patch | |
parent | e44a1fb6e8e59e67e5c8b6e83c0d8566d146aad9 (diff) |
Convert to source format 3.0 (quilt).
Diffstat (limited to 'debian/patches/banner-noslash.patch')
-rw-r--r-- | debian/patches/banner-noslash.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/banner-noslash.patch b/debian/patches/banner-noslash.patch new file mode 100644 index 000000000..8002791bd --- /dev/null +++ b/debian/patches/banner-noslash.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: b/sshconnect2.c | ||
2 | =================================================================== | ||
3 | --- a/sshconnect2.c | ||
4 | +++ b/sshconnect2.c | ||
5 | @@ -477,7 +477,7 @@ | ||
6 | if (len > 65536) | ||
7 | len = 65536; | ||
8 | msg = xmalloc(len * 4 + 1); /* max expansion from strnvis() */ | ||
9 | - strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL); | ||
10 | + strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL|VIS_NOSLASH); | ||
11 | fprintf(stderr, "%s", msg); | ||
12 | xfree(msg); | ||
13 | } | ||