aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.landley2005-09-101-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11420 69ca8d6d-28ef-0310-b511-8ec308f3f277
* some tweaks by cow to shrink a littlevapier2005-09-101-24/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob, I don't know why you feel some unexplainable compulsion to get rid ofmjn32005-09-081-48/+70
| | | | | | | | | | | a meaningless warning. But I do expect you preserve the coding style and variable names when all you're doing is tweaking some of my code. I repeat... do NOT change whitespace, variable names, or coding style in any of my code simply to conform to your coding style. git-svn-id: svn://busybox.net/trunk/busybox@11399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.landley2005-09-073-70/+37
| | | | | | | | | | | | This fixes the warning, and makes the binary smaller out of sheer pique. (Yes, since Manuel did this one it's nice tight code that took several attempts to shrink, but I was ticked.) Add the start of a test for uniq; this is about the first 1/3 of the tests we need for full susv3 coverage of uniq. git-svn-id: svn://busybox.net/trunk/busybox@11347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whitespace-level changes. Replace s0,s1,e0,e1 with real variable names andlandley2005-09-061-39/+24
| | | | | | | | clean up whitespace and curly brackets a bit. Resulting binary should be identical. git-svn-id: svn://busybox.net/trunk/busybox@11340 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - usage fresh bb_getopt_ulflags for ls -- very size reduce.vodz2005-09-051-77/+64
| | | | | | | - small indent corrections - remove unecessary malloc and free git-svn-id: svn://busybox.net/trunk/busybox@11333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-059-19/+11
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277