← Commit list

53079d494

Denis Vlasenko
Denis Vlasenko
2007-05-10
FAILED Duration: 12s

Subject

hush: fix recent breakage (VAR=VAL stopped working)

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/hush.c+1 -1
@@ -2420,7 +2420,7 @@ static int set_local_var(const char *s, int flg_export)
result = -1;
} else {
cur->name = strdup(name);
- if (cur->name) {
+ if (!cur->name) {
free(cur);
result = -1;
} else {