Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
glob.c fresh from CVS doesn't compile
- X-seq: zsh-workers 22981
- From: "Zvi Har'El" <rl@xxxxxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: glob.c fresh from CVS doesn't compile
- Date: Wed, 8 Nov 2006 11:05:55 +0200
- Disposition-notification-to: "Zvi Har'El" <rl@xxxxxxxxxxxxxxxxxxx>
- Hebrew-date: 17 Heshvan 5767
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Technion--Israel Institute of Technology
Diagnostics:
glob.c: In function `zglob':
glob.c:1249: error: too many arguments to function `get_strarg'
CVS entry:
/glob.c/1.56/Wed Nov  8 08:49:57 2006//
Patch:
--- Src/glob.c.~20061108084957~	2006-11-08 10:49:57.000000000 +0200
+++ Src/glob.c	2006-11-08 11:00:00.000000000 +0200
@@ -1246,7 +1246,7 @@
 			int arglen;
 
 			/* Find matching delimiters */
-			tt = get_strarg(s, &arglen, NULL);
+			tt = get_strarg(s, &arglen);
 			if (!*tt) {
 			    zerr("missing end of name");
 			    data = 0;
-- 
Dr. Zvi Har'El      mailto:rl@xxxxxxxxxxxxxxxxxxx    Department of Mathematics
tel:+972-54-4227607 icq:179294841    Technion - Israel Institute of Technology
fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
                         Wednesday, 17 Heshvan 5767,  8 November 2006, 11:01AM
--- Src/glob.c.~20061108084957~	2006-11-08 10:49:57.000000000 +0200
+++ Src/glob.c	2006-11-08 11:00:00.000000000 +0200
@@ -1246,7 +1246,7 @@
 			int arglen;
 
 			/* Find matching delimiters */
-			tt = get_strarg(s, &arglen, NULL);
+			tt = get_strarg(s, &arglen);
 			if (!*tt) {
 			    zerr("missing end of name");
 			    data = 0;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author