Age | Commit message (Collapse) | Author |
|
-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
|
|
-Erik
|
|
-Erik
|
|
-Erik
|
|
-Erik
|
|
utility.c :: cstring_alloc()
utility.c :: cstring_lineFromFile() /* they're at the bottom */
so that I could read in lines of arbitrary length from FILE*s
(instead of using fgets(huge_ass_buffer,...)).
+ I tested it out on sort, and it seems to be fine.
|
|
rather then busylooping trying to kill the first one until it dies.
Should be more efficient now, and will only send one signal to each
specified process.
-Erik
|
|
used to. Only thing left to do is add in exclude (-X) option.
-Erik
|
|
-Erik
|
|
for extracting files. Creation of tarballs is next...
-Erik
|
|
-Erik
|
|
name of the root device, instead of having libc read whatever
lies happen to be in /etc/mtab.
-Erik
|
|
-Erik
|
|
the common error handling saves a few bytes. Thanks to
Bob Tinsley <bob@earthrise.demon.co.uk> for the patch.
-Erik
|
|
-Erik
|
|
-Erik
|
|
Works fine, full job control support, etc.
No syntax yet (if, then, while, etc). Handles
pipes and & processes fine.
TODO: add command editing, add syntax suport.
-Erik
|
|
BB_FEATURE_USE_DEVPS_PATCH.
-Erik
|
|
-Erik
|
|
happens with all combinations of BB_KILL and BB_KILLALL
being defined.
-Erik
|
|
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel
patches the allow busybox to run perfectly without /proc.
-Erik
|
|
ramdisks lying about and want to free up the memory they have used,
this baby is the answar you have been waiting for.
-Erik
|
|
-Erik
|