Rob Landley | dae6aa28598 | Fixup to the previous (portability) patch. Linux actually does need
arpa/inet.h rather than netinet/in.h, otherwise ... | | |
Rob Landley | 1f305dc0fdb | Portability patch from rfelker. The bb_asprintf.c thing needs an eventual
follow up in platform.h to set the #ifdef,... | | |
Rob Landley | 3a324754f88 | I'm about to introduce tests that need to run as root (like mount.tests),
meaning we want to run them in a chroot env... | | |
Rob Landley | 31e3610c4b7 | Cleanup from Paul Fox. One find piped to xargs is faster/simpler than
lots of finds doing individual -exec rm. | | |
Rob Landley | ac664e07dfb | Mention a few web browsers. | | |
Rob Landley | d48633fa6f3 | They won't stop asking, but we can point them to the specific entry... | | |
Rob Landley | 49a5599ae95 | Patch from Denis Vlasenko to make unlzma smaller. | | |
Bernhard Reutner-Fischer | 478a188e851 | - remove check. Fixes e.g. buildroot | | |
Bernhard Reutner-Fischer | 39a9fddb535 | - fix typo | | |
Bernhard Reutner-Fischer | 07a79e75f50 | - backout using features which are not available with the previous stable
version of make (3.71.1). | | |
Mike Frysinger | 874af85d5eb | import most of e2fsprogs 1.38 updates | | |
Paul Fox | 0f2dd9f4eb9 | vi-mode changes: eliminate warnings from out-of-range-for-type
case labels that are emitted by gcc4. rearrange macr... | | |
Rob Landley | dfba741457c | Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.) | | |
Rob Landley | 1f5e25bf3ec | Walt Wimer noticed that mknod couldn't handle major or minor > 255. Now our
limit checking autodetects what the syst... | | |
Bernhard Reutner-Fischer | 2e9cf373a95 | - workaround bug in make-3.81beta4:
- has to use
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/file.c
instead of th... | | |
Bernhard Reutner-Fischer | a59721166af | - work around missing features and bugs in make-3.79.1:
- no order-only prerequisites; incomplete workaround (see com... | | |
Mike Frysinger | 56ee779074e | clean *.osm as pointed out by Robert P. J. Day | | |
Mike Frysinger | 33b45a09a1c | clean busybox_unstripped as pointed out by Robert P. J. Day | | |
Rob Landley | 688ed0d7606 | Patch from Robert P. Day, moving byte order checks to use platform.h macros. | | |
Bernhard Reutner-Fischer | d9969ea1755 | - correct comment.
Should revisit gcc >= 4.1 with that =1 later on | | |
Rob Landley | 06ec8cff83b | Typo fixes brought to you by the letters a, l, and Robert P. Day. | | |
Eric Andersen | cbd1c857440 | Kill off some unused code that was wasting several k, as noticed by
Denis Vlasenko when building with -ffunction-sec... | | |
Rob Landley | c05dda4b2df | Denis Vlasenko noticed that falign=0 is meaningless, and that should probably
be falign=1. Saves a little over 3k on... | | |
Bernhard Reutner-Fischer | 7ad83b4e2ce | - ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.
landley, that one broke your tar-testing (see... | | |
Bernhard Reutner-Fischer | e3ec99de828 | - remove unused lists *-m | | |
Bernhard Reutner-Fischer | c8e278f54ba | - make sure applets.o is rebuilt when the .config changes.
- don't overwrite objects in the archive. Affected applets... | | |
Bernhard Reutner-Fischer | 9b6b8944224 | - allow for make /path/to/dir/file.o | | |
Bernhard Reutner-Fischer | 022eb311d57 | - use absolute path for top_builddir and top_srcdir.
Fixes make trying to include the very same file in an endless ... | | |
Bernhard Reutner-Fischer | c0bb308389d | - silence warning about "'free_and_close_stuff' used but never defined" | | |
Bernhard Reutner-Fischer | cfc5d860e6b | Denis Vlasenko writes: make sizes was rebuilding busybox - unstripped one! | | |
Bernhard Reutner-Fischer | 5d26126b9e8 | - fixes parallel builds (make -j)
- use less resources for the buildsystem itself | | |
Rob Landley | 12c2429a424 | Fixup to make warnings from the last patch go away. | | |
Rob Landley | 08abe64d918 | Selinux fix from Jan Kiszka. | | |
Bernhard Reutner-Fischer | b7f39732f8f | - fix compilation of sed.
error: static declaration of 'free_and_close_stuff' follows non-static declaration
Tiny... | | |
Rob Landley | e7c43b66d74 | Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
from before "if(x) free(x)". | | |
Rob Landley | 93f2286e6e5 | When gnu fails this one we shouldn't let it _hang_... | | |
Rob Landley | e8e7811fb47 | Yet more sed tests. Passing these is a to-do item for 1.1.2 or 1.2, not a
1.1.1 issue. | | |
"Vladimir N. Oleynik" | 325da7b509e | use bb_xstrndup vs strndup. Thanks rfelker. | | |
"Vladimir N. Oleynik" | 5c2b238b3a9 | more busybox's style: close bug 745 | | |
"Vladimir N. Oleynik" | 716bbe96d47 | make grep faster (close bug 758), reduce small memory leak in CONFIG_FEATURE_CLEANUP mode | | |
"Vladimir N. Oleynik" | 73804d6f7e6 | more security: don't start shell code from argv | | |
Rob Landley | 8bbee852149 | defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it
remove residue of old defconfig and tweak "ma... | | |
Rob Landley | 2fe4eac4ea3 | Cosmetic cleanup from tito. | | |
Rob Landley | e813ddba18d | Cleanup from Glenn McGrath. | | |
Bernhard Reutner-Fischer | 0817313255a | - whitespace cleanup from Tito. | | |
Rob Landley | 4217bab02ed | Patch from Glenn McGrath to remove code that opens a file but does nothing
with it. | | |
Mike Frysinger | 5ba2fb2c9dd | remove duplicate license notice | | |
Mike Frysinger | 983e0ca89e8 | strip out unneeded comments | | |
"Vladimir N. Oleynik" | 5c06b277ced | fdisk unmaintained now :( | | |
Rob Landley | 5527b9117ee | Another clean-up patch from Garrett. | | |
Rob Landley | 736e52532ef | Minor cleanup from Garrett Kajmowicz. | | |
Rob Landley | b73451daee0 | Cleanup from Denis Vlasenko. | | |
Rob Landley | 75cc0cace39 | I was playing around with a dependency generator a couple weeks ago and I found
some #include files that aren't in th... | | |
Rob Landley | 883e0e83f2e | Missed one in the get_line_from_file() update... | | |
Rob Landley | 3cb94d2eb31 | Move FAQ under docs, add programming.html to docs list. | | |
Rob Landley | f6ddadc1728 | Mention patches directory as a read-only svn alternative. | | |
Rob Landley | 2b26fd5570e | A few changes falling out from the effort to make sed handle embedded NUL bytes.
Checking in to reduce the diff betwe... | | |
Rob Landley | 5c22c11de2d | Add a test suite for seq. | | |
Mike Frysinger | 0612b5fa68a | add exception for uncuddling brackets | | |
Rob Landley | 6b6edf959df | Lots of tests the fix to sed needs to pass... | | |
Rob Landley | b21837714a3 | Documentation update: more detail on vfork. | | |
Rob Landley | 73a20f35510 | "sed 2 -2 10" was very unhappy. Made the thing bigger fixing it,
fiddled a bit to get the size back down as much as... | | |
Bernhard Reutner-Fischer | ed7bb6278da | - put NLS stuff in one central place to avoid redefines.
Fixes warnings about:
fdisk.c:45:1: warning: "_" redefined
n... | | |
Rob Landley | 51be57e4df7 | Convert all the applets from #include to USE(). Had to fix some nonstandard
naming along the way to get USE() macros... | | |
Mike Frysinger | 0923063ebb9 | add myself and Bernhard | | |
Mike Frysinger | 23ca7253bec | test to make sure applets are in alphabetical order | | |
Mike Frysinger | 73b4710974c | fix applet order | | |
Mike Frysinger | 992a58c216b | document leading + option | | |
Rob Landley | c6d09a62764 | You don't need an #ifdef around #defines in usage. | | |
Rob Landley | 0a7c8ef6e22 | Patch from Denis Vlasenko to constify things and fix a few typos. | | |
Rob Landley | fb16d5c6aa8 | Tweak my entry. | | |
Rob Landley | e8f504e86d9 | Bug 751: file handle leaks can add up until available filehandles for the
process are exhausted. | | |
Rob Landley | d6e14d8beeb | Don't build directory libraries unless we're building an applet that needs it.
Cherry-picked from Devin Bayer's big M... | | |
Rob Landley | 6f2a0b22754 | Small tweak cherry-picked from Devin Bayer's monster MacOS X patch. | | |
Rob Landley | 87b9573ff8a | Forgot to check this in last night, part of the hash_fd breakup. | | |
Rob Landley | 5cf7c2df668 | Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked
md5_sha1_sum.c to convert some #ifdef... | | |
Rob Landley | a7e3d052085 | Create /dev/root symlink pointing to real root device, if any. | | |
Rob Landley | c5789a6e234 | Walter Harms added -D to date, and I did a code cleanup while I was in the
area. Probably broke something... | | |
Mike Frysinger | bf28ed88349 | eat extraneous newlines at the end of applet full usage | | |
Mike Frysinger | 0a6b0bfa7a8 | add setarch/linux32/linux64 applet | | |
Rob Landley | ea6360e3938 | Missed a file in the last checkin, won't build without this... | | |
Mike Frysinger | 57f4cb2867c | a few more comment touchups | | |
Mike Frysinger | e17c80e6041 | translate Russian-English to just plain English | | |
Rob Landley | a2841e6d4b4 | Patch from Giuseppe Ciotta to specify retry count. | | |
Rob Landley | 0d8766a3b13 | Rename UNUSE() to SKIP(). | | |
Rob Landley | 06249fee39c | Bug 640: a filename of length exactly 100 could bleed into the next field on
display or extract. (Only shows up when... | | |
Mike Frysinger | dcbad607fcb | add s390x to the list | | |
"Vladimir N. Oleynik" | 7673ccad60d | sync with mainstream, but check more | | |
Rob Landley | 081d6d43809 | getdomainname() isn't guaranteed to null terminate the string if it was
truncated for length. SVN 14135 made sure th... | | |
Rob Landley | b4ec339ac29 | Update comment. | | |
"Vladimir N. Oleynik" | 0c6ff43a0cf | remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION | | |
"Vladimir N. Oleynik" | d24d0830616 | correction get(host/domain)name usage, revert 742 bug | | |
Rob Landley | 4e9deec8bf4 | svn 14077 was completely broken and apparently never tested. | | |
Rob Landley | eb00afb2d5b | The gentoo security guys found another way to segfault busybox's decompression
code: we can do a null dereference if ... | | |
Mike Frysinger | dce17c6268b | rfelker writes in Bug 742: make sure string is null terminated after calling gethostname | | |
Mike Frysinger | 294254ce6bd | rfelker writes in Bug 740: s/u_char/unsigned char/ | | |
Mike Frysinger | da2a7d6b20e | rfelker writes in Bug 738: sys/sysmacros.h is needed for makedev | | |
Mike Frysinger | dfd902b7ff5 | rfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.h | | |
Mike Frysinger | 4b33f7aa413 | rfelker writes in Bug 734: Nothing from err.h is used, but cal.c includes it, breaking compile on systems lacking thi... | | |
Mike Frysinger | 611e085c20b | kill all .depend files | | |
Mike Frysinger | a568ef23437 | hide bb_mkdep build | | |
Mike Frysinger | ebee0e77057 | fix building on ppc64 | | |
"Vladimir N. Oleynik" | 06776b3650a | type typo. Thanks, Devin Bayer | | |
"Vladimir N. Oleynik" | b267f13c61a | quick copy-paste typo | | |
Rob Landley | efae294b15f | Fix for an integer overflow bug that could cause a segfault on certain
pathological archives.
(Unlikely to have secu... | | |
Rob Landley | 2c98c40ec88 | The tendency of vi to auto-indent can be really annoying at times. | | |
Rob Landley | f856eabcde3 | More whitespace than you can possibly imagine... | | |
Rob Landley | 27cd85b5be2 | Update Rogues Gallery. | | |
"Vladimir N. Oleynik" | eaa3b29a6df | forgoten new file for 14080 revison | | |
"Vladimir N. Oleynik" | dd1ccddf1b3 | moved BB_BANNER to applets/version.c file: make kernel like version,
removed depend loop: busybox.h depend with BB_B... | | |
"Vladimir N. Oleynik" | 21e68703ce3 | removed #undef strlen, use builtins and prototuped strlen from xfunc file (only\!) | | |
"Vladimir N. Oleynik" | cb9b114d352 | isolate and show busybox`s changes | | |
Rob Landley | 5c1cd5fdd34 | Putting together OPTIONFLAGS, sed needs the global flag to handle multiple
options. | | |
Rob Landley | 006fa2d45b1 | When setting an environment variable by piping something into grep, backquotes
can be useful. Also tweak an if case ... | | |
Rob Landley | d1e38c07e6d | Rogues gallery. | | |
"Vladimir N. Oleynik" | c218a293253 | add last terminal line | | |
"Vladimir N. Oleynik" | 9a51540b158 | demo (UN)USE_FEATURE... usage | | |
"Vladimir N. Oleynik" | 6732af27666 | full removed config.h, use bb_config.h only | | |
Rob Landley | 02794e15160 | Fix bug 674: sum's block count should always round up. | | |
Rob Landley | 46e351d4782 | Patch from awk maintainer (Dmitry Zakhrov) to fix bugs 642, 663, and 667. | | |
Bernhard Reutner-Fischer | 5ba53c05fce | - commentary typos | | |
"Vladimir N. Oleynik" | 3afdfecf7ed | restore change by Denis Vlasenko: file_to_buf must vary fast, best if inline | | |
"Vladimir N. Oleynik" | 465300ced93 | cleanups after changes by Denis Vlasenko. Size optimization | | |
"Vladimir N. Oleynik" | 63ca3bfe9d3 | commentary typos. Thank by aldot | | |
Rob Landley | a253e7361f8 | Rob Landley is busybox maintainer now. Eeek. | | |
Rob Landley | d05981eaf18 | Fix off by one error. (I know I had a reason for doing that, but I have _no_
idea what it was...) | | |
Rob Landley | b2804551a0f | Cleanups from Denis Vlasenko. | | |
Rob Landley | 90632d021ce | Bug fix from Kim B. Heino, manifested via:
echo > foo && zip foo.zip foo && ./busybox unzip foo.zip | | |
Rob Landley | 7bfa88f315d | New USE() macros
For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL
and USE_SYMBOL(x). ENABLE_S... | | |
Bernhard Reutner-Fischer | f251ec6847d | - commentary typos | | |
Rob Landley | c29a0f371a8 | More random documentation. | | |
Rob Landley | 4926d643ea9 | Missed this in svn 13701. | | |
Rob Landley | 4a1d874e1db | Another item. | | |
Rob Landley | cc6d8d30ec1 | Fix umount so it works if there's no /etc/mtab or /proc/mounts, make
umount -a into a CONFIG_FEATURE (why not?), and ... | | |
Rob Landley | 1ab4c3dc252 | Help text update and tweak to defconfig to remove two more things that
the "maximum sane configuration" shouldn't hav... | | |
Rob Landley | 32251b48257 | Convert some help text to english. | | |
Mike Frysinger | 271aa40a15b | add back in path nulling after calling find_dev() since it is needed for now ... | | |
Mike Frysinger | 27a74e8017f | Cristian Ionescu-Idbohrn writes:
force enough space padding so that applet names always end up on their own line | | |
Mike Frysinger | 0380166916d | space out supported applet names so the config list doesnt wrap on an 80col terminal | | |
Mike Frysinger | 4fcefb9e90f | fixup whitespace in awk help output | | |
Rob Landley | 30a6bba65f7 | Bug 677: there are apparently still people using telnet. | | |
Mike Frysinger | ba9c4d1f892 | get rid of warnings with applets that have no usage and get rid of pointless --- separator between applets | | |
Mike Frysinger | f37529d6b69 | if the .pl script gets updated, force doc regen | | |
Mike Frysinger | b0ed3d7cc08 | Rob Sullivan writes: Here's a patch to autogenerate the list of applets in the Busybox documentation | | |
Rob Landley | bec26527a18 | Save a few bytes in error message. | | |
Mike Frysinger | a421ba8203d | cleanup style ... just because you use less spaces doesnt mean the resulting code is smaller | | |
Mike Frysinger | 248d2220f99 | shrink the code a bit | | |
Mike Frysinger | 53d57dbe6bf | gavinl writes in Bug 661:
if read() file return less than 1, we should close the fd and then goto end. | | |
Mike Frysinger | 5509228a7b4 | alphabetical order and fix mdev comments about echo>/sys vs echo>/proc/sys | | |
Mike Frysinger | 35cf19d741c | fix mdev help output | | |
"Vladimir N. Oleynik" | 4fc92206ed4 | destroy bug 679, use getopt_ulflags with new feature: usage option. Removed two strdup | | |
Mike Frysinger | b38673fb9fe | make the build system puuuuuuuuuuurty | | |
"Vladimir N. Oleynik" | 1f04c9d29c8 | removed anoinig `unused' warnings | | |
"Vladimir N. Oleynik" | 73ffd762ca5 | removed anoinig warnings | | |
"Vladimir N. Oleynik" | b399a963434 | remode warning: const static mix | | |
Bernhard Reutner-Fischer | 3038557649a | - bzero -> memset
text data bss dec hex filename
1652855 14444 1215616 2882915 2bfd63 busybox.oo... | | |
"Vladimir N. Oleynik" | 87be3161496 | more better for me signed<->unsigned and the const keyword usage | | |
"Vladimir N. Oleynik" | 4333a09d657 | add feature: support for running scripts through an interpreter. Thanks Florian Schirmer <jolt@tuxbox.org> | | |
"Vladimir N. Oleynik" | 1f17d3287ad | more obscure | | |
"Vladimir N. Oleynik" | 7600eec7325 | avoid signed<->unsigned warning | | |
"Vladimir N. Oleynik" | 57545c810a1 | avoid signed<->unsigned warning | | |
"Vladimir N. Oleynik" | 4d57926bd31 | removed unneed signed, avoid warning | | |
Bernhard Reutner-Fischer | 81b94960a2b | - pass -static via CC rather than LD | | |
"Vladimir N. Oleynik" | 39e75106640 | more destroy potential overflow for x86_64. | | |
"Vladimir N. Oleynik" | 77bb33c4742 | destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED | | |
Bernhard Reutner-Fischer | 9f4a1e1c75e | - add and use ATTRIBUTE_ALIGNED(num_bytes)
- remove unused parameter pindex from fdisk.c, xbsd_initlabel() | | |
"Vladimir N. Oleynik" | dfe6e74157e | changed strange mix signed<->unsigned | | |
"Vladimir N. Oleynik" | dd14ca082a6 | protect potential overflow for x86_64 | | |
"Vladimir N. Oleynik" | 4ccd2b46975 | quick analize signed->unsigned: protect overflow of map[char], getchar->EOF. Use ATTRIBUTE_UNUSE. | | |
Bernhard Reutner-Fischer | cd98555dfac | - fix typo i introduced yesterday. | | |
Rob Landley | 9e275e3450c | Not on libbusybox.so: it's GPL, no API barrier, no stability promise. | | |
Rob Landley | a167ec5e633 | Turn defconfig into what make allyesconfig is today. Turn allyesconfig
back into allyesconfig. (Memo: apparently SE... | | |
Eric Andersen | 3496fdc9a57 | hopefully the last of the annoying signed/unsigned and mixed type errors | | |
Eric Andersen | a68ea1cb93c | fix up yet more annoying signed/unsigned and mixed type errors | | |
Eric Andersen | 9a58b02ec75 | make certain we dereference the pointer as a time_t, esp on x86_64
where it might otherwise not be dereferenced as su... | | |
Eric Andersen | 0cb6f35c33a | fix up annoying signed/unsigned and mixed type errors | | |
Eric Andersen | 5e678873f9f | clean up yet more annoying signed/unsigned mismatches and fixup
yet more incorrect types | | |
Eric Andersen | 2cdd4d56ffc | passing around an int as a void* is a very bad idea | | |
Eric Andersen | d78aea8b8eb | sort out yet more type issues | | |
Bernhard Reutner-Fischer | 4bf31272ff0 | - very minor tweak: save 1 byte.
statistics:
text data bss dec hex filename
867 0 ... | | |
Eric Andersen | 76b24270d45 | with 2.4 kernel headers, lo_file_name is char, but with 2.6
headers we get a u8 for lo_file_name, so always cast to (... | | |
Eric Andersen | f55289f4b99 | fixup a few types to prevent gcc (rightfully) whining about mixing
signed and unsigned, unmatches pointer target type... | | |
Bernhard Reutner-Fischer | 20f40000864 | - add some ATTRIBUTE_UNUSED.
- use shorter boilerplate while at it. | | |
Bernhard Reutner-Fischer | 0e8727d93b9 | - make linking against libcrypt optional by looking if pw_encrypt() or
correct_password() is configured. Fixes alln... | | |
"Vladimir N. Oleynik" | 2d604581ef7 | removed warning "comparison between signed and unsigned". | | |
"Vladimir N. Oleynik" | 51bfa54e461 | removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace | | |
"Vladimir N. Oleynik" | 59c4e5cf928 | removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace | | |
"Vladimir N. Oleynik" | 676b15e0678 | removed warning "comparison between signed and unsigned". | | |
Next → |