diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-31 15:36:20 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-31 15:36:20 +0000 |
commit | d84c26c47a4486e2a6db840eecb0eb06a2c5b37a (patch) | |
tree | 3fcdc370df102e9e287475f095445056a82c31bc | |
parent | fd8f82f564570642d61b806da56a54922be05203 (diff) | |
download | busybox-w32-d84c26c47a4486e2a6db840eecb0eb06a2c5b37a.tar.gz busybox-w32-d84c26c47a4486e2a6db840eecb0eb06a2c5b37a.tar.bz2 busybox-w32-d84c26c47a4486e2a6db840eecb0eb06a2c5b37a.zip |
ha! a scratch-buffer! ;)
put the isdigit hack into it to help landley out..
git-svn-id: svn://busybox.net/trunk/busybox@15249 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | patches/woot.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/woot.txt b/patches/woot.txt index fae077ebc..22b521e41 100644 --- a/patches/woot.txt +++ b/patches/woot.txt | |||
@@ -1 +1,26 @@ | |||
1 | Testing to see if I can rename a file without blanking its history. | 1 | Testing to see if I can rename a file without blanking its history. |
2 | |||
3 | That'd be dalias' suggestion.. | ||
4 | |||
5 | Mine was #define isdigit(a) (a>='0'&&a<='9'), but i forgot to record the | ||
6 | exact savings.. | ||
7 | text data bss dec hex filename | ||
8 | 864252 10252 645860 1520364 1732ec busybox_old | ||
9 | 863714 10244 645892 1519850 1730ea busybox_unstripped | ||
10 | |||
11 | |||
12 | Index: include/libbb.h | ||
13 | =================================================================== | ||
14 | --- include/libbb.h (revision 15244) | ||
15 | +++ include/libbb.h (working copy) | ||
16 | @@ -531,4 +531,10 @@ | ||
17 | #include <dmalloc.h> | ||
18 | #endif | ||
19 | |||
20 | +#if 1 | ||
21 | +#include <ctype.h> | ||
22 | +#define _CTYPE_H 1 /* muahahaha */ | ||
23 | +#undef isdigit | ||
24 | +#define isdigit(a) ((unsigned)(a)-'0' < 10) | ||
25 | +#endif | ||
26 | #endif /* __LIBBUSYBOX_H__ */ | ||