← Commit list

4476c7030

Denys Vlasenko
Denys Vlasenko
2017-08-15
SUCCESS Duration: 143s

Subject

ash,hush: comment and debug tweaks, no code changes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+3 -2
@@ -7704,8 +7704,9 @@ static int
patmatch(char *pattern, const char *string)
{
char *p = preglob(pattern, 0);
- //bb_error_msg("fnmatch(pattern:'%s',str:'%s')", p, string);
- return pmatch(p, string);
+ int r = pmatch(p, string);
+ //bb_error_msg("!fnmatch(pattern:'%s',str:'%s',0):%d", p, string, r);
+ return r;
}
/*
shell/hush.c+1 -1
@@ -9948,7 +9948,7 @@ Test that VAR is a valid variable name?
c = '?';
}
- /* Set OPTIND */
+ /* Set VAR and OPTIND */
cbuf[0] = c;
set_local_var_from_halves(var, cbuf);
set_local_var_from_halves("OPTIND", utoa(optind));