zsh-workers
 help / color / mirror / code / Atom feed
From: "Zvi Har'El" <rl@math.technion.ac.il>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: glob.c fresh from CVS doesn't compile
Date: Wed, 8 Nov 2006 11:05:55 +0200	[thread overview]
Message-ID: <20061108090555.GA9030@fermat.math.technion.ac.il> (raw)

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

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@math.technion.ac.il    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

[-- Attachment #2: glob.patch --]
[-- Type: text/plain, Size: 337 bytes --]

--- 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;

             reply	other threads:[~2006-11-08  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  9:05 Zvi Har'El [this message]
2006-11-08 10:40 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061108090555.GA9030@fermat.math.technion.ac.il \
    --to=rl@math.technion.ac.il \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).