mirror of
https://github.com/mirror/make.git
synced 2026-09-05 22:25:00 +08:00
- Fix bug #1405: allow multiple pattern-specific variables to match a target.
- Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port.
This commit is contained in:
@@ -681,9 +681,9 @@ func_words (char *o, char **argv, const char *funcname)
|
||||
static char *
|
||||
strip_whitespace (const char **begpp, const char **endpp)
|
||||
{
|
||||
while (isspace ((unsigned char)**begpp) && *begpp <= *endpp)
|
||||
while (*begpp <= *endpp && isspace ((unsigned char)**begpp))
|
||||
(*begpp) ++;
|
||||
while (isspace ((unsigned char)**endpp) && *endpp >= *begpp)
|
||||
while (*endpp >= *begpp && isspace ((unsigned char)**endpp))
|
||||
(*endpp) --;
|
||||
return (char *)*begpp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user