From: Ben Gras Date: Tue, 18 Oct 2005 19:30:45 +0000 (+0000) Subject: Bugfix by Joren X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.named.html?a=commitdiff_plain;h=b187c96cc49b66f2f4878143543261f2072f6e20;p=minix.git Bugfix by Joren --- diff --git a/commands/ash/bltin/regexp.c b/commands/ash/bltin/regexp.c index db546d638..cd026ac95 100755 --- a/commands/ash/bltin/regexp.c +++ b/commands/ash/bltin/regexp.c @@ -246,7 +246,7 @@ ccl: p++; } p++; - if (found == negate) + if (found == negate || c == 0) goto bad; break; case RE_LP: