← Commit list

dac033e98

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2006-05-31
SOURCE BUG Duration: 34s

Subject

ha! a scratch-buffer! ;) put the isdigit hack into it to help landley out..

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 →

patches/woot.txt+25 -0
@@ -1 +1,26 @@
Testing to see if I can rename a file without blanking its history.
+
+That'd be dalias' suggestion..
+
+Mine was #define isdigit(a) (a>='0'&&a<='9'), but i forgot to record the
+exact savings..
+ text data bss dec hex filename
+ 864252 10252 645860 1520364 1732ec busybox_old
+ 863714 10244 645892 1519850 1730ea busybox_unstripped
+
+
+Index: include/libbb.h
+===================================================================
+--- include/libbb.h (revision 15244)
++++ include/libbb.h (working copy)
+@@ -531,4 +531,10 @@
+ #include <dmalloc.h>
+ #endif
+
++#if 1
++#include <ctype.h>
++#define _CTYPE_H 1 /* muahahaha */
++#undef isdigit
++#define isdigit(a) ((unsigned)(a)-'0' < 10)
++#endif
+ #endif /* __LIBBUSYBOX_H__ */