Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: nicedup
- X-seq: zsh-workers 21809
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: nicedup
- Date: Mon, 03 Oct 2005 10:06:17 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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@xxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author