summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-02 18:15:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-02 18:15:01 +0000
commite887e405682534148c730d6aae366ae7cdf78144 (patch)
treec93220de295997c114ace8fc7760a681d85373b2 /app-editors/nano/files
parentInitial commit. Fixes #93504 (diff)
downloadgentoo-2-e887e405682534148c730d6aae366ae7cdf78144.tar.gz
gentoo-2-e887e405682534148c730d6aae366ae7cdf78144.tar.bz2
gentoo-2-e887e405682534148c730d6aae366ae7cdf78144.zip
search & replace fix from upstream
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-editors/nano/files')
-rw-r--r--app-editors/nano/files/nano-1.3.8-rep.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-editors/nano/files/nano-1.3.8-rep.patch b/app-editors/nano/files/nano-1.3.8-rep.patch
new file mode 100644
index 000000000000..8bfd5520419a
--- /dev/null
+++ b/app-editors/nano/files/nano-1.3.8-rep.patch
@@ -0,0 +1,12 @@
+Patch from upstream.
+--- nano-1.3.8/src/search.c
++++ nano-1.3.8/src/search.c
+@@ -907,6 +907,8 @@
+ last_search = mallocstrcpy(last_search, answer);
+ }
+
++ last_replace = mallocstrcpy(last_replace, "");
++
+ i = statusq(FALSE, replace_list_2, last_replace,
+ #ifndef NANO_SMALL
+ &replace_history,