← Commit list

bfd94c433

Rob Landley
Rob Landley
2005-09-15
SOURCE BUG Duration: 7s

Subject

Whitespace patch (and removal of gratuitous use of cat) by Berhnard Fischer.

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 →

scripts/config/mkconfigs+7 -5
@@ -36,7 +36,8 @@ echo "#ifndef _BBCONFIG_H"
echo "#define _BBCONFIG_H"
echo \
"/*
- *
+ * busybox configuration options.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
@@ -53,13 +54,14 @@ echo \
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
- *
- * This file is generated automatically by scripts/config/mkconfigs. Do not edit.
+ *
+ * This file is generated automatically by scripts/config/mkconfigs.
+ * Do not edit.
*
*/"
-echo "static char const bbconfig_config[] = "
+echo "static char const bbconfig_config[] ="
echo "\"CONFIG_BEGIN=n\\n\\"
-echo "`cat $config | sed 's/\"/\\\\\"/g' | grep "^#\? \?CONFIG_" | awk '{ print $0 "\\\\n\\\\" }' `"
+echo "`sed 's/\"/\\\\\"/g' $config | grep "^#\? \?CONFIG_" | awk '{ print $0 "\\\\n\\\\" }' `"
echo "CONFIG_END=n\\n\";"
echo "#endif /* _BBCONFIG_H */"