← Commit list

ac9731704

"Vladimir N. Oleynik"
"Vladimir N. Oleynik"
2005-09-22
SOURCE BUG Duration: 5s

Subject

Reduce exported from msh applet

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

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/msh.c+6 -5
@@ -162,7 +162,8 @@ struct op {
#define TDOT 17
/* Strings for names to make debug easier */
-char *T_CMD_NAMES[] = {
+#ifdef MSHDEBUG
+static char *T_CMD_NAMES[] = {
"PLACEHOLDER",
"TCOM",
"TPAREN",
@@ -182,7 +183,7 @@ char *T_CMD_NAMES[] = {
"TASYNC",
"TDOT",
};
-
+#endif
/*
* actions determining the environment of a process
@@ -698,7 +699,7 @@ static const struct builtincmd builtincmds[] = {
{0, 0}
};
-struct op *scantree(struct op *);
+static struct op *scantree(struct op *);
static struct op *dowholefile(int, int);
/* Globals */
@@ -4638,8 +4639,8 @@ REGISTER struct wdblock *wb;
return (wd);
}
-int (*func) (char *, char *);
-int globv;
+static int (*func) (char *, char *);
+static int globv;
static void glob0(a0, a1, a2, a3)
char *a0;