Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix -Werror compile | Denis Vlasenko | 2007-05-04 | 1 | -1/+5 |
| | |||||
* | style fixes, no code changes | Denis Vlasenko | 2007-04-16 | 1 | -1/+2 |
| | |||||
* | style fixes | Denis Vlasenko | 2007-04-13 | 1 | -4/+4 |
| | |||||
* | login: remove setpgrp call (makes it work from shell prompt again). | Denis Vlasenko | 2007-04-12 | 1 | -3/+3 |
| | | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes. | ||||
* | add more convenient defines for [NO]MMU: | Denis Vlasenko | 2007-04-11 | 1 | -2/+10 |
| | | | | "#ifndef BB_NOMMU" is a double negative | ||||
* | - add ATTRIBUTE_DEPRECATED for functions that should be removed in the future. | Bernhard Reutner-Fischer | 2007-04-10 | 1 | -0/+2 |
| | | | | This is ment to provide means to point at cruft marked for cleanup. | ||||
* | - be gentle to the intel compiler and make sure we have __u64 which is ↵ | Bernhard Reutner-Fischer | 2007-03-19 | 1 | -0/+9 |
| | | | | needed for linux/loop.h | ||||
* | - add C99 bool type for setups that support it. | Bernhard Reutner-Fischer | 2007-01-20 | 1 | -0/+10 |
| | |||||
* | - move the smallint that is platform dependant to it's proper place | Bernhard Reutner-Fischer | 2007-01-18 | 1 | -0/+11 |
| | |||||
* | remove commented out #includes etc | Denis Vlasenko | 2006-12-31 | 1 | -7/+0 |
| | | | | move get_hz to the only caller | ||||
* | stop using __u32 etc. uint32_t is there for a reason | Denis Vlasenko | 2006-12-31 | 1 | -6/+6 |
| | |||||
* | style fixes | Denis Vlasenko | 2006-12-26 | 1 | -1/+1 |
| | | | | last xcalloc replaced by xzalloc | ||||
* | xfuncs.c: dietlibc actually HAS fdprintf! | Denis Vlasenko | 2006-12-18 | 1 | -2/+11 |
| | | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions | ||||
* | nc: add missing cast | Denis Vlasenko | 2006-12-18 | 1 | -0/+3 |
| | | | | xfuncs: add dprintf for dietlibc | ||||
* | s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g | Denis Vlasenko | 2006-12-16 | 1 | -1/+1 |
| | | | | xstrtou: disallow leading '+' | ||||
* | add -Wundef, fix uncovered bugs | Denis Vlasenko | 2006-11-17 | 1 | -1/+1 |
| | |||||
* | whitespace cleanup | Denis Vlasenko | 2006-09-17 | 1 | -2/+2 |
| | |||||
* | Revert duplicate patch. | Rob Landley | 2006-09-12 | 1 | -8/+0 |
| | | | | | | | | | | | | I don't know why patch decided to apply this even though it was already in the tree. I thought the other hunks failed because they were totally unrelated leakage from Bernhard's tree (which they are; was the a reason for bundling them in with this fix? Do they have something to do with the GCC 2.95 fix? I suspect they prevent me from backporting this patch to 1.2.2 because the header consolidation into libbb.h hadn't been done yet, and no I'm not fixing it up: if that's the case then this patch won't be in 1.2.2 due to extraneous changes bundled with it that prevent a clean backport without rolling a new patch). | ||||
* | Fix from Bernhard for somebody trying to limp along with gcc 2.95.4. | Rob Landley | 2006-09-12 | 1 | -0/+8 |
| | |||||
* | - small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵ | Bernhard Reutner-Fischer | 2006-09-12 | 1 | -0/+8 |
| | | | | __va_copy. | ||||
* | Ok, features.h already defines _OPEN_SOURCE (and complains if it's already | Rob Landley | 2006-08-10 | 1 | -1/+0 |
| | | | | | defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.) | ||||
* | Another whack at scripts/individual. Now builds 212 applets. | Rob Landley | 2006-08-09 | 1 | -0/+1 |
| | |||||
* | Add shared subtree support, suggested by Vladimir Dronnikov. Also break out a | Rob Landley | 2006-08-08 | 1 | -0/+29 |
| | | | | | | few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems... | ||||
* | move lchown/chown define out of specific files and into platform.h where it ↵ | Mike Frysinger | 2006-07-20 | 1 | -1/+7 |
| | | | | belongs | ||||
* | Some old kernel headers don't #include BLKSSZGET in sys/mount.h. | Rob Landley | 2006-06-29 | 1 | -0/+3 |
| | |||||
* | Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.mak | Rob Landley | 2006-06-22 | 1 | -1/+1 |
| | |||||
* | We came up with our own names for ATTRIBUTE_*, so why check if they're already | Rob Landley | 2006-06-15 | 1 | -22/+0 |
| | | | | | #defined? Also remove a check for a gcc version older than RH9 (if non-linux needs that #define they can put it in their section.) | ||||
* | Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of | Rob Landley | 2006-06-15 | 1 | -1/+4 |
| | | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.) | ||||
* | Random cleanup of platform.h. | Rob Landley | 2006-06-13 | 1 | -16/+24 |
| | |||||
* | only check __GNU_LIBRARY__ if it is actually defined | Mike Frysinger | 2006-06-06 | 1 | -2/+2 |
| | |||||
* | Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so | Rob Landley | 2006-06-01 | 1 | -2/+0 |
| | | | | defining it in a guard is silly. | ||||
* | - conditionally define BB_NOMMU | Bernhard Reutner-Fischer | 2006-05-31 | 1 | -4/+14 |
| | |||||
* | Put parentheses around some of the SWAP() macros, as pointed out by Peter | Rob Landley | 2006-05-30 | 1 | -6/+6 |
| | | | | Kjellerstedt. | ||||
* | Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts values | Rob Landley | 2006-05-29 | 1 | -5/+16 |
| | | | | | to/from little endian or big endian, which is a NOP if that's what the current platform already is. | ||||
* | Remove _() and N_() from platform.h. #define them as NOP macros in the two | Rob Landley | 2006-05-29 | 1 | -12/+4 |
| | | | | | | files still using them. I didn't remove them from e2fsck.c to avoid stomping pending cleanup patches from Garrett, and I didn't bother to remove them from fdisk.c because that entire file needs to be rewritten from scratch. | ||||
* | Move portability stuff to platform.h, and clean up adjtimex.c a bit while | Rob Landley | 2006-05-27 | 1 | -0/+17 |
| | | | | I'm in the area. | ||||
* | - add workaround for tar being broken since it uses a non-portable constant. | Bernhard Reutner-Fischer | 2006-05-26 | 1 | -0/+6 |
| | |||||
* | - move libc checks from busybox.h to platform.h | Bernhard Reutner-Fischer | 2006-05-26 | 1 | -4/+101 |
| | | | | | | | - add ATTRIBUTE_ALWAYS_INLINE, endian handling for DEC UNIX, some more compiler dependent defines to platform.h - add conditional bb_setpgrp define to platform.h - remove superfluous specifying args from "#define fdprintf dprintf" | ||||
* | New version of nohup that's much smaller, less paranoid, consistent, | Rob Landley | 2006-05-21 | 1 | -0/+2 |
| | | | | vaguely portable, and licensed GPLv2 "or later". | ||||
* | - backout erroneously checked in snippet.. | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -2/+0 |
| | |||||
* | - remove emacs layout block as suggested by Robert P.J. Day | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -0/+3 |
| | | | | - use shorter boilerplate while at it | ||||
* | - single KERNEL_VERSION(a,b,c) macro in platform.h | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -0/+7 |
| | | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day | ||||
* | Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes | Rob Landley | 2006-05-07 | 1 | -5/+0 |
| | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. | ||||
* | Not quite compiler independent, but we've never tried to be gcc independent | Rob Landley | 2006-05-04 | 1 | -11/+5 |
| | | | | | anyway. This is at least less ugly than what was there before, and fixes building all sources at once. | ||||
* | just whitespace fixes | Mike Frysinger | 2006-03-28 | 1 | -16/+16 |
| | |||||
* | Define both big endian and little endian macros. | Rob Landley | 2006-03-25 | 1 | -3/+6 |
| | |||||
* | fix typo | Mike Frysinger | 2006-03-23 | 1 | -1/+1 |
| | |||||
* | Fixup to the previous (portability) patch. Linux actually does need | Rob Landley | 2006-03-09 | 1 | -0/+8 |
| | | | | arpa/inet.h rather than netinet/in.h, otherwise we get warnings. | ||||
* | - put NLS stuff in one central place to avoid redefines. | Bernhard Reutner-Fischer | 2006-02-23 | 1 | -1/+5 |
| | | | | | | | | Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined | ||||
* | Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked | Rob Landley | 2006-02-21 | 1 | -0/+15 |
| | | | | md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).) |