← Commit list

41ade05ca

Denys Vlasenko
Denys Vlasenko
2017-01-08
SUCCESS Duration: 230s

Subject

hush: conditionalize print_escaped() on EXPORT || TRAP

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+2 -0
@@ -8936,6 +8936,7 @@ static int FAST_FUNC builtin_exit(char **argv)
hush_exit(xatoi(argv[0]) & 0xff);
}
+#if ENABLE_HUSH_EXPORT || ENABLE_HUSH_TRAP
static void print_escaped(const char *s)
{
if (*s == '\'')
@@ -8954,6 +8955,7 @@ static void print_escaped(const char *s)
putchar('"');
} while (*s);
}
+#endif
#if ENABLE_HUSH_EXPORT || ENABLE_HUSH_LOCAL
# if !ENABLE_HUSH_LOCAL