* PATCH: another glob fix
@ 1998-04-27 9:26 Andrew Main
0 siblings, 0 replies; only message in thread
From: Andrew Main @ 1998-04-27 9:26 UTC (permalink / raw)
To: zsh-workers
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-27 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-27 9:26 PATCH: another glob fix Andrew Main
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).