zsh-workers
 help / color / mirror / code / Atom feed
From: Andrew Main <zefram@tao.co.uk>
To: zsh-workers@math.gatech.edu
Subject: PATCH: another glob fix
Date: Mon, 27 Apr 1998 10:26:43 +0100	[thread overview]
Message-ID: <199804270926.KAA25069@diamond.tao.co.uk> (raw)

-----BEGIN PGP SIGNED MESSAGE-----

*This* is why matchpat() was adding an extra layer of parens.  Don't use
3.1.2-zefram4 to run configure scripts.

 *** Src/glob.c	1998/04/26 15:56:37	1.47
 --- Src/glob.c	1998/04/26 19:29:04
 ***************
 *** 706,717 ****
   	    c3 = parsecompsw(gflag);
   	    if (!c3)
   		return NULL;
 ! 	} else {
 ! 	    /* mark if end of pattern or path component */
 ! 	    if (!*pptr || *pptr == '/')
 ! 		c2->stat |= C_LAST;
   	    c3 = NULL;
 ! 	}
   	c2->str = dupstring("");
   	c2->left = c1;
   	c2->right = c3;
 --- 706,716 ----
   	    c3 = parsecompsw(gflag);
   	    if (!c3)
   		return NULL;
 ! 	} else
   	    c3 = NULL;
 ! 	/* mark if end of pattern or path component */
 ! 	if (!*pptr || *pptr == '/')
 ! 	    c1->stat |= c2->stat = C_LAST;
   	c2->str = dupstring("");
   	c2->left = c1;
   	c2->right = c3;

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: ascii

iQEVAwUBNUOMRpmk9GeOHh7BAQGq6gf/fTv0pycEa8VmTeo6c2SmAVfGIl8szUtO
Nb6yPaP1pnL41jhozZo/9hywC3nz/xYpJq3YJ8EuRd4aCmfC8jUgntsQg5bHH0pE
eNKb8mHxeRFN1z3alYGmOI7Jg61niRWxfXIVLaq1mSWpdmmjlzaWZFrzgnaNRG9S
qr4dwPEU8i6mH3OR6FXeQ32Z68lnThaDkUH0ewRFelGqgcdX70fg4yACANr8OwuO
1d1eJx99qaCVo1KstuhN+snWf/LnCvydEM31d4EznWlyK1E51gnBqqQ45R8YmpAJ
kfXYU4OQwv/WVWsokzA8uun8AE/VpZaLVm2CA4KxW8JUvKbMNmo0qA==
=/uy8
-----END PGP SIGNATURE-----


                 reply	other threads:[~1998-04-27  9:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199804270926.KAA25069@diamond.tao.co.uk \
    --to=zefram@tao.co.uk \
    --cc=zsh-workers@math.gatech.edu \
    /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).