summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* rework human_fstype to cut down sizeMike Frysinger2005-04-241-78/+47
|
* rework options to get rid of extra variablesMike Frysinger2005-04-241-15/+11
|
* stat implementation based upon coreutilsMike Frysinger2005-04-233-0/+615
|
* cast the time pointer so gcc stops warning over nothingMike Frysinger2005-04-231-1/+1
|
* use bb_fflush_stdout_and_exit instead of exitMike Frysinger2005-04-231-1/+2
|
* grab sum from coreutils, clean it up, and make it busybox happyMike Frysinger2005-04-213-0/+189
|
* add a printenv implementationMike Frysinger2005-04-213-0/+59
|
* fix whitespaceMike Frysinger2005-04-211-1/+1
|
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-162-4/+4
| | | | which were otherwise cluttering the global namespace.
* In Bug 208, bernhardf writes:Mike Frysinger2005-04-161-2/+2
| | | | | | On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
* fake out support for POSIX -H and -L options since busybox cp dereferences ↵Mike Frysinger2005-04-141-5/+13
| | | | everything by default
* add aliases == and [[ for = and [ to support more bash scriptsMike Frysinger2005-04-141-1/+7
|
* Add 'nice' and replace 'renice' with a new implementation.Manuel Novoa III2005-02-133-0/+93
|
* Sort rewrite to be SUSv3 compliant. New config option, updated help, andRob Landley2005-01-242-56/+306
| | | | a couple of infrastructure bits.
* cp: make -P a synonym for -dMike Frysinger2005-01-071-1/+7
|
* Patch from David Daney:Eric Andersen2004-10-111-0/+9
| | | | | | | | It seems that date -s MMDDHHMMYYYY.ss will ignore the .ss part. This patch tries to fix the problem. David Daney.
* egor duda writes:Eric Andersen2004-10-084-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
* Patch from William Barsse to fix a segfault when multiple files are specified.Glenn L McGrath2004-09-301-0/+1
|
* Patch from David Daney to make the -i option work with -l.Glenn L McGrath2004-09-241-1/+1
|
* Add a missing brace, patch by Hideki IWAMOTOGlenn L McGrath2004-09-151-0/+1
|
* Tito writes,Glenn L McGrath2004-09-151-41/+35
| | | | | "This patch fixes all the bugs in id previously spotted by vodz and me. The binary size increased a bit, but now it should work as expected."
* Patch by Felipe Kellermann, use the common escape handling function and ↵Glenn L McGrath2004-09-151-133/+21
| | | | remove some unused code.
* Tito writes:Eric Andersen2004-09-022-67/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Erik, Hi to all, This is part five of the my_get*id story. I've tweaked a bit this two functions to make them more flexible, but this changes will not affect existing code. Now they work so: 1) my_getpwuid( char *user, uid_t uid, int bufsize) if bufsize is > 0 char *user cannot be set to NULL on success username is written on static allocated buffer on failure uid as string is written to buffer and NULL is returned if bufsize is = 0 char *user can be set to NULL on success username is returned on failure NULL is returned if bufsize is < 0 char *user can be set to NULL on success username is returned on failure an error message is printed and the program exits 2) 1) my_getgrgid( char *group, uid_t uid, int bufsize) if bufsize is > 0 char *group cannot be set to NULL on success groupname is written on static allocated buffer on failure gid as string is written to buffer and NULL is returned if bufsize is = 0 char *group can be set to NULL on success groupname is returned on failure NULL is returned if bufsize is < 0 char *group can be set to nULL on success groupname is returned on failure an error message is printed and the program exits This changes were needed mainly for my new id applet. It is somewhat bigger then the previous but matches the behaviour of GNU id and is capable to handle usernames of whatever length. BTW: at a first look it seems to me that it will integrate well (with just a few changes) with the pending patch in patches/id_groups_alias.patch. The increase in size is balanced by the removal of my_getpwnamegid.c from libbb as this was used only in previous id applet and by size optimizations made possible in whoami.c and in passwd.c. I know that we are in feature freeze but I think that i've tested it enough (at least I hope so.......).