aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - Stephane Billiart writes:Bernhard Reutner-Fischer2005-12-152-3/+3
| | | | | | Fix the compilation of head and tail. thanks!
* Eliminate unnecessary allocation from md5sum that was leaked without ever ↵Rob Landley2005-12-151-9/+0
| | | | being used.
* - wrap label GET_COUNT in #if ENABLE_FEATURE_FANCY_applet to avoid warningBernhard Reutner-Fischer2005-12-132-7/+11
| | | | about unused label.
* Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentallyRob Landley2005-12-121-1/+1
| | | | modifying permissions or ownership when twiddling symlinks.
* printf() arguments shouldn't be passed straight from user supplied data.Rob Landley2005-12-121-1/+1
| | | | (Security thingy.)
* Add build options to control SuS compatability, allows numeric Glenn L McGrath2005-12-113-0/+8
| | | | | option handling to be disabled. Defaults to enabled, so no changes in default behaviour
* - remove unused variable have_read_stdinBernhard Reutner-Fischer2005-12-101-8/+3
| | | | - use FLAG_WIDTH
* avoid mixed declarations, to support older compilers just a little longer.Paul Fox2005-12-081-1/+2
|
* Another cleanup patch that's been in my tree for a while. Again I think it'sRob Landley2005-12-021-40/+14
| | | | originally from Bernhard Fischer...
* Fix cp /dev/null filename, and a few in-passing cleanups.Rob Landley2005-11-011-25/+2
|
* - Matthias Wenzel writes:Bernhard Reutner-Fischer2005-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.
* * uniq.c: remove unneeded include and use short boilerplate.Bernhard Reutner-Fischer2005-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.
* another more const"Vladimir N. Oleynik"2005-10-202-3/+3
|
* RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1"Vladimir N. Oleynik"2005-10-152-5/+9
|
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-153-11/+7
|
* - new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"2005-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
* usage bb_dev_null"Vladimir N. Oleynik"2005-10-121-1/+1
|
* remove 1 CR, correct strange bb_opt_complementally, add #if 0 and ↵"Vladimir N. Oleynik"2005-10-121-32/+33
| | | | XXX-comment: pleace examine this\!
* - use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"2005-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.
* When lstat returns an error (such as file not found), the value ofRob Landley2005-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.
* Rob Sullivan added character and equivalence classes to tr. I changed someRob Landley2005-10-081-3/+55
| | | | comments.
* Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.Rob Landley2005-10-082-6/+26
|
* to bb_getopt_ulflags()"Vladimir N. Oleynik"2005-10-061-10/+5
|
* change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"2005-10-061-2/+1
|
* change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"2005-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
* re-order a little for alphabeticalMike Frysinger2005-09-241-7/+7
|
* use the shorter license headerMike Frysinger2005-09-241-15/+2
|
* use brief license lineMike Frysinger2005-09-241-15/+2
|
* very small size reduce for nohup applet"Vladimir N. Oleynik"2005-09-221-9/+6
|
* - add applet nohup(1)Bernhard Reutner-Fischer2005-09-213-0/+195
|
* - rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer2005-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
* Get rid of warnings, remove compat with older gnu uniq to truly conform to ↵Manuel Novoa III2005-09-151-46/+43
| | | | susv3, and cut size a bit.
* Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley2005-09-1112-12/+7
| | | | getopt.h, whitespace changes, typos, etc.
* use CONFIG_BUFFER macros like cow suggested and shrink code size some more ↵Mike Frysinger2005-09-101-23/+19
| | | | by using less variables and more gotos ;)
* Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.Rob Landley2005-09-101-2/+2
|
* some tweaks by cow to shrink a littleMike Frysinger2005-09-101-24/+11
|
* Rob, I don't know why you feel some unexplainable compulsion to get rid ofManuel Novoa III2005-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.
* Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.Rob 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.
* Whitespace-level changes. Replace s0,s1,e0,e1 with real variable names andRob Landley2005-09-061-39/+24
| | | | | clean up whitespace and curly brackets a bit. Resulting binary should be identical.
* - usage fresh bb_getopt_ulflags for ls -- very size reduce."Vladimir N. Oleynik"2005-09-051-77/+64
| | | | | - small indent corrections - remove unecessary malloc and free
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-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
* Bernhard Fischer trimmed down dos2unix a bit.Rob Landley2005-09-011-45/+33
|
* Very minor tweak to tail.Rob Landley2005-08-131-4/+1
|
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley2005-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
* implemented a builtin echo command in ash. moved the guts of thePaul Fox2005-08-092-138/+3
| | | | | | echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
* commiting patch from bug 71:Paul Fox2005-08-012-4/+75
| | | | | 0000071: patch: implement "--color" option for ls coloring control
* tell people to ignore the dups/e0 warningsMike Frysinger2005-07-301-0/+1
|
* use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger2005-07-272-2/+2
|
* remove unused variable ret as reported by apgo in Bug 350 and touchup syntax ↵Mike Frysinger2005-07-261-8/+5
| | | | along the way
* just punt all the f_frsize crap since not all linux headers support it Bug 346Mike Frysinger2005-07-261-22/+5
|