Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: incorrect debugging pattern test
- X-seq: zsh-workers 20568
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: incorrect debugging pattern test
- Date: Fri, 19 Nov 2004 15:11:26 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Recent pattern changes have made a debugging test invalid.
Index: Src/pattern.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/pattern.c,v
retrieving revision 1.23
diff -u -r1.23 pattern.c
--- Src/pattern.c 22 Oct 2004 15:36:40 -0000 1.23
+++ Src/pattern.c 19 Nov 2004 15:09:47 -0000
@@ -2577,7 +2577,7 @@
if (P_OP(scan) == P_EXACTLY) {
char *nextexact = savexact;
- DPUTS(!savexact || !*savexact,
+ DPUTS(!savexact,
"BUG: exact match has not set exactpos");
CHARINC(nextexact);
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author