CVSROOT:        /cvs
Module name:    src
Changes by:     es...@cvs.openbsd.org   2012/10/12 07:20:11

Modified files:
        usr.bin/make   : varmodifiers.c 

Log message:
fix infinite loops on regexps that match the empty word, which is
especially bad during runtime as we trap ^C.

For instance ${A:C/-*//g}. Problem found by rpe@

Do the same as other modern tools: advance by one char and repeat, so
that there's at most one empty word match at each position.

okay millert@

Reply via email to