← Commit list

377bdaff3

Paul Fox
Paul Fox
2005-12-08
SOURCE BUG Duration: 7s

Subject

avoid mixed declarations, to support older compilers just a little longer.

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 →

coreutils/fold.c+2 -1
@@ -47,6 +47,8 @@ static int adjust_column(int column, char c)
extern int fold_main(int argc, char **argv)
{
+ char *w_opt;
+
/* If nonzero, at least one of the files we read was standard input. */
int have_read_stdin = 0;
@@ -74,7 +76,6 @@ extern int fold_main(int argc, char **argv)
}
}
- char *w_opt;
flags = bb_getopt_ulflags(argc, argv, "bsw:", &w_opt);
if (flags & 4)
width = bb_xgetlarg(w_opt, 10, 1, 10000);