aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - very minor tweak: save 1 byte.aldot2006-01-301-65/+65
| | | | | | | | | | | | | | | | | | | statistics: text data bss dec hex filename 867 0 12 879 36f fold.o.oorig.gcc-3.3 843 0 12 855 357 fold.o.oorig.gcc-3.4 780 0 12 792 318 fold.o.oorig.gcc-4.0 761 0 12 773 305 fold.o.oorig.gcc-4.1-HEAD 761 0 12 773 305 fold.o.oorig.gcc-4.2-HEAD 866 0 12 878 36e fold.o.gcc-3.3 842 0 12 854 356 fold.o.gcc-3.4 779 0 12 791 317 fold.o.gcc-4.0 760 0 12 772 304 fold.o.gcc-4.1-HEAD 760 0 12 772 304 fold.o.gcc-4.2-HEAD git-svn-id: svn://busybox.net/trunk/busybox@13721 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add some ATTRIBUTE_UNUSED.aldot2006-01-305-61/+10
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13718 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed warning "comparison between signed and unsigned".vodz2006-01-301-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13709 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed warning "comparison between signed and unsigned". Reduced sizevodz2006-01-301-43/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13705 69ca8d6d-28ef-0310-b511-8ec308f3f277
* support GNU suffixes for fancy mode: b(512), k(1024) and m(1024*1024)vodz2006-01-301-0/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13704 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove outdated and do not corected comment. Use bb_xasprintf instead ↵vodz2006-01-301-10/+4
| | | | | | xmalloc+set+set+strcpy. git-svn-id: svn://busybox.net/trunk/busybox@13703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move SUSv2 obsolete feature disabling to debug menu, invert meaning oflandley2006-01-303-53/+23
| | | | | | | | | | | symbol (switched on to remove now: test your apps to make sure they _don't_ do this, because as some point we should just yank it), fixup head/tail/fold. Also tweak "make allyesconfig" so anything starting with CONFIG_DEBUG gets left switched off. Possibly other things we want to put in the debug menu? git-svn-id: svn://busybox.net/trunk/busybox@13692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* support 64 arith. Close bug 136vodz2006-01-252-18/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13591 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-2516-108/+108
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add platform.h.aldot2006-01-221-10/+3
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - cleanup Config.in. Use "select CONFIG_FOO" and add the correspondingaldot2006-01-191-70/+37
| | | | | | | "depends on CONFIG_BAR" instead of the if !CONFIG_FOO ...default y stanza. git-svn-id: svn://busybox.net/trunk/busybox@13424 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make CONFIG_MD5SUM_SIZE_VS_SPEED configurable via menuconfig.aldot2006-01-171-0/+15
| | | | | | | - use shorter boilerplate. git-svn-id: svn://busybox.net/trunk/busybox@13383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-152-20/+40
| | | | | | | | - 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
* Fix bug 603: "chown :root thingy" should work now.landley2006-01-091-7/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13193 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug 624 wants quoted char support for printf, so you can do something like:landley2006-01-061-54/+50
| | | | | | | | | printf '%d\n' '"x"' and have it print out 120. This is the smallest implementation I can think of at the moment. git-svn-id: svn://busybox.net/trunk/busybox@13134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* No, we _want_ the suid and sgid bits reverted by chown, for security reasons.landley2006-01-061-24/+7
| | | | | | | | They mean something different when the user they're switching to is different, so if you still want suid you reset it afterwards. This is a safety feature. git-svn-id: svn://busybox.net/trunk/busybox@13133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Stephane Billiart writes:aldot2005-12-152-3/+3
| | | | | | | | | Fix the compilation of head and tail. thanks! git-svn-id: svn://busybox.net/trunk/busybox@12897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate unnecessary allocation from md5sum that was leaked without ever ↵landley2005-12-151-9/+0
| | | | | | being used. git-svn-id: svn://busybox.net/trunk/busybox@12890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - wrap label GET_COUNT in #if ENABLE_FEATURE_FANCY_applet to avoid warningaldot2005-12-132-7/+11
| | | | | | | about unused label. git-svn-id: svn://busybox.net/trunk/busybox@12867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentallylandley2005-12-121-1/+1
| | | | | | | modifying permissions or ownership when twiddling symlinks. git-svn-id: svn://busybox.net/trunk/busybox@12843 69ca8d6d-28ef-0310-b511-8ec308f3f277
* printf() arguments shouldn't be passed straight from user supplied data.landley2005-12-121-1/+1
| | | | | | | (Security thingy.) git-svn-id: svn://busybox.net/trunk/busybox@12841 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add build options to control SuS compatability, allows numeric bug12005-12-113-0/+8
| | | | | | | | option handling to be disabled. Defaults to enabled, so no changes in default behaviour git-svn-id: svn://busybox.net/trunk/busybox@12835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove unused variable have_read_stdinaldot2005-12-101-8/+3
| | | | | | | - use FLAG_WIDTH git-svn-id: svn://busybox.net/trunk/busybox@12829 69ca8d6d-28ef-0310-b511-8ec308f3f277
* avoid mixed declarations, to support older compilers just a little longer.pgf2005-12-081-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another cleanup patch that's been in my tree for a while. Again I think it'slandley2005-12-021-40/+14
| | | | | | | originally from Bernhard Fischer... git-svn-id: svn://busybox.net/trunk/busybox@12645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix cp /dev/null filename, and a few in-passing cleanups.landley2005-11-011-25/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Matthias Wenzel writes:aldot2005-10-271-15/+5
| | | | | | | | | without the fix below md5sum will always report a correct md5 on _any_ wrongly formattet input files. - use short boilerplate and remove superfluous keyword extern. git-svn-id: svn://busybox.net/trunk/busybox@11932 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * uniq.c: remove unneeded include and use short boilerplate.aldot2005-10-262-16/+5
| | | | | | | | | | | | * coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq and add boilerplate. * networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes and use short boilerplate. * libiproute/iproute.c: rename round to avoid clashes with older SuSE gcc and use short boilerplate. git-svn-id: svn://busybox.net/trunk/busybox@11924 69ca8d6d-28ef-0310-b511-8ec308f3f277
* another more constvodz2005-10-202-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1vodz2005-10-152-5/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* common BUFSIZ BSS buffer, small reduce code, data and bssvodz2005-10-153-11/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-145-15/+10
| | | | | | | - 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-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove 1 CR, correct strange bb_opt_complementally, add #if 0 and ↵vodz2005-10-121-32/+33
| | | | | | XXX-comment: pleace examine this\! git-svn-id: svn://busybox.net/trunk/busybox@11844 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use complementally '!' to '?' - 'ask' is best 'free' char for this.vodz2005-10-113-13/+12
| | | | | | | - 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
* When lstat returns an error (such as file not found), the value oflandley2005-10-091-10/+9
| | | | | | | | | st_mode is random garbage (under uClibc), leading to random triggering of the S_ISDIR() case when the destination will be a normal file which doesn't exist yet. I.E. checking the return value of lstat is not optional. git-svn-id: svn://busybox.net/trunk/busybox@11815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Sullivan added character and equivalence classes to tr. I changed somelandley2005-10-081-3/+55
| | | | | | | comments. git-svn-id: svn://busybox.net/trunk/busybox@11814 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.landley2005-10-082-6/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* to bb_getopt_ulflags()vodz2005-10-061-10/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change strange depend to libbb.h, but require busybox.hvodz2005-10-061-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-292-5/+5
| | | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* re-order a little for alphabeticalvapier2005-09-241-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11634 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* very small size reduce for nohup appletvodz2005-09-221-9/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11576 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add applet nohup(1)aldot2005-09-213-0/+195
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11538 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename libbb's password helpers as suggested in libbb.haldot2005-09-206-16/+16
| | | | | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug git-svn-id: svn://busybox.net/trunk/busybox@11515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Get rid of warnings, remove compat with older gnu uniq to truly conform to ↵mjn32005-09-151-46/+43
| | | | | | susv3, and cut size a bit. git-svn-id: svn://busybox.net/trunk/busybox@11469 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup patch by Bernhard Fischer, removing unnecessary includes oflandley2005-09-1112-12/+7
| | | | | | | getopt.h, whitespace changes, typos, etc. git-svn-id: svn://busybox.net/trunk/busybox@11422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use CONFIG_BUFFER macros like cow suggested and shrink code size some more ↵vapier2005-09-101-23/+19
| | | | | | by using less variables and more gotos ;) git-svn-id: svn://busybox.net/trunk/busybox@11421 69ca8d6d-28ef-0310-b511-8ec308f3f277