From 54949051daa89260b53b12fb571c59a855cdc76a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 2 Apr 2007 13:58:19 +0000 Subject: 23258: fix debugging added in 23248 --- ChangeLog | 3 +++ Src/Zle/complist.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4e8fd65dc..4052355bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-04-02 Peter Stephenson + * 23258: Src/Zle/complist.c: debugging added in 23248 + was overaggressive. + * 23257: Src/subst.c: buffer too short for multibyte ${(#)...} evaluation. diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index d379874f2..40bfdfe05 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1585,7 +1585,8 @@ clprintm(Cmgroup g, Cmatch *mp, int mc, int ml, int lastc, int width) Cmatch m; int len, subcols = 0, stop = 0, ret = 0; - DPUTS2(ml >= mlines, "clprintm called with ml too large (%d/%d)", + DPUTS2(mselect >= 0 && ml >= mlines, + "clprintm called with ml too large (%d/%d)", ml, mlines); if (g != last_group) *last_cap = '\0'; -- cgit 1.4.1