Age | Commit message (Collapse) | Author |
|
|
|
|
|
function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions.
moved copySubFile from ar.c to utilities.c
modified dd.c to use fullWrite
modified copyFile in utilities.c to use copySubFile
|
|
-Erik
|
|
-Erik
|
|
buffer overrun in find_real_root_device(), fixing bug #1019
-Erik
|
|
-Erik
|
|
the first is a cleanup of tar --exclude
the second changes mount so mtab works more as it should, and
also allows mount to use the traditional short form (i.e.
'mount / -o remount,rw' now works.
While inside tar, I changed it to use getopt...
-Erik
|
|
exist. Also allow early search termination (per the comments).
|
|
to using getopt and cleaned up the resulting mess. if-then-else-fi
is now basically working (given a bunch of constraints).
-Erik
|
|
-Erik
|
|
Used where possible
|
|
Adjusted to make lsmod and sh compilable as standalone apps.
Comment fixes
|
|
(unless it's lsmod, to be fixed by the next commit)
|
|
-Erik
|
|
|
|
(maybe I'll remove it later).
|
|
|
|
-Erik
|
|
- adds case-insensitive matching in sed s/// epxressions
- consolodates common regcomp code in grep & sed into bb_regcomp and put in
utility.c
- cleans up a bunch of cruft
|
|
-Erik
|
|
-Erik
|
|
-Erik
|
|
only function where it's used and it's always good to keep the namespace
clean. :-)
|
|
Howdy,
Bug #1006 reports that
ln -s /tmp/foo .
does not work correctly. In fact, it appears that any instantiation of
ln -s FILE... DIRECTORY
does not work. The following patch adds support for this form, which
then fixes the particular instance noted in the bug report.
In the process, I needed the basename function. This appears in the
string.h provided by glibc, but not uC-libc. So I wrote my own to go in
utility.c, called get_last_path_component. I also modified the basename
utility to use this function.
At some point it might be desirous to use the basename from the library
if it exists, and otherwise compile our own. But I don't know how to do
this.
Matt
|
|
GROWBY - 1, then it writes the null character just after the buffer. Yipe.
Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt!
-Erik
|
|
-Erik
|
|
-Erik
|
|
leave setkeycodes active, busybox will not link. Also fix a trivial
use-before-initialize warning. Both fixes from Jon McClintock
<jonm@bluemug.com>.
-Erik
|
|
will be removing this stuff from /proc/mounts real soon now I am assured.
-Erik
|
|
escape seq. code from tr and echo into utility.c. Fix thanks to
Matt Kraai <kraai@alumni.carnegiemellon.edu>.
* This should close Bug #1015. Please test.
-Erik
|
|
utility.c and replaced them with get_line_from_file() from the new grep.c.
Also changed declaration in internal.h and replaced instances of
cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested
them and they worked fine.
|
|
-Erik
|
|
/proc/mounts, added a hack to make sysinfo work with both old and new kernels).
-Erik
|
|
CSTRING_BUFFER_LENGTH = 1024 /* so it recurses less often */
+ grep.c
uses cstring_lineFromFile(), and doesn't ever say
Line is too long, anymore
|
|
Very cool stuff.
-Erik
|
|
-Erik
|
|
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
|
|
archived previously). Wrote 'which' during the meeting today.
-Erik
|
|
-Erik
|
|
more on it later.
-Erik
|
|
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
|
|
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
|
|
-Erik
|
|
-Erik
|
|
* cp/mv now accepts (and ignores) the -f flag, since it always
does force anyway
* tail can now accept -<num> commands (e.g. -10) for better
compatibility with the standard tail command
* added a simple id implementation; doesn't support supp. groups yet
|
|
compatability.
-Erik
|
|
-Erik
|
|
-Erik
|
|
'chown foo:bar' in addition to 'chown foo.bar', and fix a bug in the
busybox globbing routine such that 'find /dir -name [i]' no longer
segfaults.
-Erik
|