diff options
| author | Tim Vanderhoek <hoek@FreeBSD.org> | 1999-08-12 13:30:08 +0000 |
|---|---|---|
| committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1999-08-12 13:30:08 +0000 |
| commit | 5af2ec36b07f8a26ab8eaea4a7cf61e8ab0879f4 (patch) | |
| tree | a3f31e12a7f622410625cbd45f92993c475388b0 | |
| parent | 193b935887dd90ed5522cd15e3db224407316b5c (diff) | |
Notes
| -rw-r--r-- | usr.bin/make/cond.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c index ddb62f6a8c0d..5eb420e1b645 100644 --- a/usr.bin/make/cond.c +++ b/usr.bin/make/cond.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cond.c,v 1.7 1997/02/22 19:27:07 peter Exp $ + * $Id: cond.c,v 1.8 1999/05/25 13:45:08 hoek Exp $ */ #ifndef lint @@ -707,7 +707,8 @@ do_string_compare: condExpr += len; } } else { - if (CondCvtArg(rhs, &right) == rhs) + char *c = CondCvtArg(rhs, &right); + if (*c != '\0' && !isspace(*c)) goto do_string_compare; if (rhs == condExpr) { /* |
