zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: nicedup
@ 2005-10-03  9:06 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2005-10-03  9:06 UTC (permalink / raw)
  To: Zsh hackers list

Minor fix needed for --disable-multibyte because I made zle use
nicedup() directly instead of via a ztrdup()-like front end.  I'm not
sure why I bothered.

? Src/annotate_signals.txt
Index: Src/utils.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/utils.c,v
retrieving revision 1.97
diff -u -r1.97 utils.c
--- Src/utils.c	1 Oct 2005 19:19:06 -0000	1.97
+++ Src/utils.c	3 Oct 2005 09:04:53 -0000
@@ -3330,7 +3330,7 @@
 /* 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;

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-03  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-03  9:06 PATCH: nicedup Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).