about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-03 09:09:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-03 09:09:58 +0000
commitc1b01cfba2723b720f4c96f3628b575986080a1a (patch)
treefe5281fb0ed3beb152ca30ebe1ad7f2310a079b3
parent3fd42c46580ec478c2bfd3ac5746c0a5129ad60b (diff)
downloadzsh-c1b01cfba2723b720f4c96f3628b575986080a1a.tar.gz
zsh-c1b01cfba2723b720f4c96f3628b575986080a1a.tar.xz
zsh-c1b01cfba2723b720f4c96f3628b575986080a1a.zip
21809: need to export nicedup()
-rw-r--r--ChangeLog3
-rw-r--r--Src/utils.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e8dac4c5d..82c53e098 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-10-03  Peter Stephenson  <pws@csr.com>
 
+	* 21809: Src/utils.c: need to export nicedup() for
+	--disable-multibyte in zle.
+
 	* 21790: INSTALL, NEWS, README: add some documentation about
 	the 4.3 release.
 
diff --git a/Src/utils.c b/Src/utils.c
index 663be3b5b..838846910 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -3330,7 +3330,7 @@ zputs(char const *s, FILE *stream)
 /* Create a visibly-represented duplicate of a string. */
 
 /**/
-static char *
+mod_export char *
 nicedup(char const *s, int heap)
 {
     int c, len = strlen(s) * 5 + 1;