Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: (#q)

Bug, already.

Forgets existing qualifiers if the new one doesn't introduce any local
ones, e.g. (#qoL)(#q...), in which the oL is handled globally.

Index: Src/glob.c
RCS file: /cvsroot/zsh/zsh/Src/glob.c,v
retrieving revision 1.23
diff -u -r1.23 glob.c
--- Src/glob.c	2002/01/22 12:40:26	1.23
+++ Src/glob.c	2002/01/22 13:47:31
@@ -1537,7 +1537,7 @@
 		newquals->next = quals;
 		quals = qn;
-	} else
+	} else if (newquals)
 	    quals = newquals;
     q = parsepat(str);

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 392070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author