aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* moved BB_BANNER to applets/version.c file: make kernel like version, vodz2006-02-161-1/+6
| | | | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h git-svn-id: svn://busybox.net/trunk/busybox@14080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed #undef strlen, use builtins and prototuped strlen from xfunc file ↵vodz2006-02-161-1/+0
| | | | | | (only\!) git-svn-id: svn://busybox.net/trunk/busybox@14077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanups after changes by Denis Vlasenko. Size optimizationvodz2006-02-141-6/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanups from Denis Vlasenko.landley2006-02-131-14/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix from Kim B. Heino, manifested via:landley2006-02-131-0/+1
| | | | | | | echo > foo && zip foo.zip foo && ./busybox unzip foo.zip git-svn-id: svn://busybox.net/trunk/busybox@13956 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save a few bytes in error message.landley2006-02-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13832 69ca8d6d-28ef-0310-b511-8ec308f3f277
* destroy bug 679, use getopt_ulflags with new feature: usage option. Removed ↵vodz2006-02-021-0/+10
| | | | | | two strdup git-svn-id: svn://busybox.net/trunk/busybox@13797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-11/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - bzero -> memsetaldot2006-01-311-14/+2
| | | | | | | | | | | | | | | | | | text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD git-svn-id: svn://busybox.net/trunk/busybox@13762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more obscurevodz2006-01-311-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13758 69ca8d6d-28ef-0310-b511-8ec308f3f277
* avoid signed<->unsigned warningvodz2006-01-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13757 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix typo i introduced yesterday.aldot2006-01-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13746 69ca8d6d-28ef-0310-b511-8ec308f3f277
* with 2.4 kernel headers, lo_file_name is char, but with 2.6andersen2006-01-301-3/+3
| | | | | | | | headers we get a u8 for lo_file_name, so always cast to (char *) when treating it as such. git-svn-id: svn://busybox.net/trunk/busybox@13720 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add some ATTRIBUTE_UNUSED.aldot2006-01-302-28/+6
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13718 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make linking against libcrypt optional by looking if pw_encrypt() oraldot2006-01-301-2/+8
| | | | | | | correct_password() is configured. Fixes allnoconfig pulling in -lcrypt. git-svn-id: svn://busybox.net/trunk/busybox@13715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-2515-24/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Close bug 644: loop incrementing twice, skipping ever other device.landley2006-01-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make CONFIG_MD5SUM_SIZE_VS_SPEED configurable via menuconfig.aldot2006-01-171-13/+5
| | | | | | | - use shorter boilerplate. git-svn-id: svn://busybox.net/trunk/busybox@13383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-152-35/+65
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - correct definitions.aldot2006-01-131-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink simple obscure stuff a tiny bit:aldot2006-01-121-17/+22
| | | | | | | | | | text data bss dec hex filename 789 0 0 789 315 obscure.o.oorig 771 0 0 771 303 obscure.o - replace bzero by memset while at it. git-svn-id: svn://busybox.net/trunk/busybox@13259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed a warning about an unused pargv in bb_getopt_ulflags. Noticed by Titovodz2006-01-091-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13201 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cosmetic fix from Tito.landley2006-01-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch from tito: consolidate delay functions as bb_do_delay()landley2006-01-062-1/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trying to losetup a device as a regular user shouldn't result in an endlesslandley2005-12-211-2/+3
| | | | | | | loop, and the error messages should display correctly now. git-svn-id: svn://busybox.net/trunk/busybox@12970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Flush input when prompting for a password (bug 373).landley2005-12-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12844 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce signedness warningvodz2005-12-021-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix losetup so that it A) actually works again, B) has much better errorlandley2005-11-291-14/+30
| | | | | | | | | | | messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too. Remind me to add a test suite for this thing. I think I've figured out how to handle root-only testsuites... git-svn-id: svn://busybox.net/trunk/busybox@12582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the interface of libbb/compare_string_array (unsigned short to int), ↵vodz2005-11-261-4/+4
| | | | | | usaging for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use const for interface of libbb/compare_string_array, example usage ↵vodz2005-11-261-1/+2
| | | | | | for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use libbb/bb_msg_read_errorvodz2005-11-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move interface.c to networking directory since it's only used by ifconfig.landley2005-11-222-2094/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12475 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My last change to this file broke tar x. Sigh. (Trying to make sure we worklandley2005-11-121-4/+5
| | | | | | | | on file sizes between 2 and 4 gigs on 32 bit machines. For supporting >4 gigs, just use a 64 bit machine already...) git-svn-id: svn://busybox.net/trunk/busybox@12225 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug 424: doing full_read breaks things like cat which should return alandley2005-11-041-1/+1
| | | | | | | | | | | | chunk of data when they get it and not block until they've buffered 4k. The use case was cat /proc/psaux, but you can also reproduce this by running non-busybox cat by itself and typing things at the command line. Then run busybox cat. Notice how cat is _supposed_ to echo each line back to us as we hit enter? git-svn-id: svn://busybox.net/trunk/busybox@12147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.landley2005-11-041-57/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix cp /dev/null filename, and a few in-passing cleanups.landley2005-11-011-59/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somebody suggested this, but I've forgotten who.landley2005-10-271-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11934 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shaun Jackman noted that limits.h defines path_max and isn't included fromlandley2005-10-251-0/+1
| | | | | | | | | find_root_device.c. (We #include it in busybox.h but not libbb.h, it seems. Someday, someone's going to have to clarify for me the difference between those two...) git-svn-id: svn://busybox.net/trunk/busybox@11913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more constvodz2005-10-201-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11896 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - don't update copyright years. He might release it, but apparently will havealdot2005-10-151-1/+1
| | | | | | | to update the year himself. git-svn-id: svn://busybox.net/trunk/busybox@11875 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - an empty middle term in ?: violates ISO Caldot2005-10-151-31/+22
| | | | | | | - use shorter boilerplate and use C89 style comments git-svn-id: svn://busybox.net/trunk/busybox@11872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* common BUFSIZ BSS buffer, small reduce code, data and bssvodz2005-10-152-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-141-64/+117
| | | | | | | - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage bb_dev_nullvodz2005-10-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_dev_nullvodz2005-10-123-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use complementally '!' to '?' - 'ask' is best 'free' char for this.vodz2005-10-111-36/+72
| | | | | | | - more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets. git-svn-id: svn://busybox.net/trunk/busybox@11828 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The check for EROFS was wrong. For example, if you try to mount a filesystemlandley2005-10-111-4/+3
| | | | | | | | | appended to an executable that's being run (yes, I'm doing this) you get EPERM, but mounting readonly fixes it. Doing the fallback all the time shouldn't hurt, and is one less test. git-svn-id: svn://busybox.net/trunk/busybox@11825 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3.vodz2005-10-101-2/+0
| | | | | | | e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep. git-svn-id: svn://busybox.net/trunk/busybox@11822 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - size reduction of pidofaldot2005-10-071-1/+1
| | | | | | | - fix typo in reverse_pidlist git-svn-id: svn://busybox.net/trunk/busybox@11799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add llist_free_one() and llist_free() to libbbaldot2005-10-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11786 69ca8d6d-28ef-0310-b511-8ec308f3f277