aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* applying fix for:Paul Fox2005-07-201-0/+12
| | | | | | 0000265: tail -f should keep following files even if they were truncated
* applying patch from:Paul Fox2005-07-201-1/+2
| | | | | 0000227: sort use wrong type for getopt return variable
* If /tmp and /home were different partitions, then "mv /tmp/file /home/file"Rob Landley2005-07-201-3/+3
| | | | | | | would delete /home/file even if /tmp/file didn't exist. This fixes that, although the logic of both mv and cp is a bit tangled and should probably be untangled.
* Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger2005-07-011-1/+1
| | | | WTMP options
* patch by Shaun Jackman to combine dup/close funcs into dup2Mike Frysinger2005-06-301-3/+2
|
* dont use f_frsize unless linux-2.6.0 or betterMike Frysinger2005-06-291-1/+12
|
* tweak signed/unsigned char usage to avoid mismatchesMike Frysinger2005-06-241-4/+4
|
* Shaun Jackman submitted a patch converting an allocation to useRob Landley2005-05-281-5/+7
| | | | | CONFIG_RESERVE_BUFFER. (Rob Landley removed an #ifdef, per discussion on the list.)
* Patch from Shaun Jackman to save a few bytes.Rob Landley2005-05-281-4/+3
|
* use more busybox functions and remove redundant codeMike Frysinger2005-05-161-18/+17
|
* as Rob Landley pointed out, need to fix the 1 versus i typo in indexingMike Frysinger2005-05-131-1/+1
|
* blah, forgot to save last time to fix whitespacingMike Frysinger2005-05-131-1/+1
|
* remove duplicated code and rework algorithms to end up with smaller codeMike Frysinger2005-05-131-40/+38
|
* use a bunch of if statements since it is a few bytes smaller than a switch; ↵Mike Frysinger2005-05-121-20/+16
| | | | also use bb_xfopen() instead of fopen() so comm doesnt segfault when given non-existant files :(
* err, added 2 to the wrong var :) also touchup the option detection to shrink ↵Mike Frysinger2005-05-121-14/+8
| | | | size
* fix segfault if user only specifies 1 fileMike Frysinger2005-05-121-1/+1
|
* fix whitespace/coding styleMike Frysinger2005-05-121-27/+28
|
* add missing comm.o ruleMike Frysinger2005-05-121-0/+1
|
* whitespace touchupsMike Frysinger2005-05-121-68/+67
|
* Small comm implementatin from Rob Sullivan. Needed to build perl.Rob Landley2005-05-112-0/+162
|
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger2005-05-114-4/+4
| | | | (BB_GETOPT_ERROR)
* Patch from Shaun Jackman:Rob Landley2005-05-091-22/+15
| | | | | | | | | | | | | | | | | | > This patch modfies expr to use portable POSIX regex rather than BSD > regex. ... > This updated patch implements an anchored regex by checking that the > match starts at offset 0. More to the point, this patch uses the same regex that sed.c is already using (opportunity to suck in less library code), and even building a dynamically linked busybox with just expr the result is a slightly smaller binary (by 94 bytes, I dunno what nm --size-sort has to say about it because I didn't build with debug info, since that changes the binary size a lot by disabling optimization...) Your mileage may vary. Handle with caution. Do not taunt happy fun ball.
* Manuel points out that if printf needs a flush to act like dprintf, the resultRob Landley2005-05-071-2/+1
| | | | | is bigger. Revert last patch.
* Shaun Jackman pointed out that dprintf(STDOUT_FILENO,...) is just a printf.Rob Landley2005-05-071-1/+2
|
* A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley2005-05-032-36/+41
|
* On Wednesday 13 April 2005 09:12 pm, Shaun Jackman wrote:Rob Landley2005-04-301-26/+13
| | | | | | > This patch fixes a memory leak in hash_file by using the BUFFER macros > instead of xmalloc. Please apply.
* Patch from Matthew S. Wood:Rob Landley2005-04-291-8/+24
| | | | | | | | | | | | | | | | | | | | | | > The following patch adds support for the -S and -b flags to `ln'. These > flags [especially -b] are used extensively in Debian pre and post > installation scripts. Comments from Vladimir Oleynik influenced the final patch, and I also ripped out the in-file changelog since it belongs here. At the time, it said: /* Apr 15, 2004 Matthew S. Wood (mwood@realmsys.com) * * Implement '-b' (backup) flag. * Implement '-S' (backup suffix) flag. * * * Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) * * Fixed bug involving -n option. Essentially, -n was always in effect. */
* fix stupid build mistake i made earlier as pointed out by psmMike Frysinger2005-04-261-1/+1
|