diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-11-19 15:15:23 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-11-19 15:15:23 +0000 |
commit | c1a3961657b4957619b81e5aba9bc959525e285c (patch) | |
tree | aeedfde8d9a71bc4573d8bad9fa3a55548f72cc7 | |
parent | e022a9814a12080d938984ede6fc6ef5f6133ef7 (diff) | |
download | zsh-c1a3961657b4957619b81e5aba9bc959525e285c.tar.gz zsh-c1a3961657b4957619b81e5aba9bc959525e285c.tar.xz zsh-c1a3961657b4957619b81e5aba9bc959525e285c.zip |
20568: debug test in pattern.c was out of date
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/pattern.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 555bec1c5..2d816cbc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-11-19 Peter Stephenson <pws@csr.com> + * 20568: Src/pattern.c: in debug test, checking for NULL + character is no longer valid. + * 20566: Src/signames2.awk: prefer SIGCHLD to SIGCLD. Also (unposted) prefer SIGPOLL to SIGIO. diff --git a/Src/pattern.c b/Src/pattern.c index 528c48d5e..679a8399e 100644 --- a/Src/pattern.c +++ b/Src/pattern.c @@ -2577,7 +2577,7 @@ patmatch(Upat prog) if (P_OP(scan) == P_EXACTLY) { char *nextexact = savexact; - DPUTS(!savexact || !*savexact, + DPUTS(!savexact, "BUG: exact match has not set exactpos"); CHARINC(nextexact); |