Age | Commit message (Collapse) | Author |
|
|
|
-Erik
|
|
>
> The following patch allows ln -n to function like GNU. It also fixes a
> typo with my previous patch to add support for ln FILE DIRECTORY. And
> it removes some code that checks the maximum length of the filenames. I
> can't figure out why that code is necessary. Anyone know?
>
> Matt
|
|
-Erik
|
|
-Erik
|
|
-Erik
|
|
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
|
|
GNU tr complains on the following:
$ tr a ''
tr: when not truncating set1, string2 must be non-empty
BusyBox tr does not complain:
$ tr a ''
a
^D
0
It should result in an error, not in some spurious output. The attached
patch generates an error.
Matt
|
|
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
|
|
-Erik
|
|
-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
|
|
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option
to exist.
-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.
|
|
Fix thanks to Arne Bernin <arne@matrix.loopback.org>
-Erik
|
|
/proc/mounts, added a hack to make sysinfo work with both old and new kernels).
-Erik
|
|
corruption bug. Disabling 'ln -n' till it is fixed.
-Erik
|
|
-Erik
|
|
-Erik
|
|
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
|
|
It is only allowed for linking to a directory
But linking to a directory still fails and may be removed
|
|
|
|
|
|
-Erik
|
|
* Fixed 'mount -a' so it works as expected.
* Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE)
-Erik
|
|
-Erik
|
|
* Fixed segfault caused by "touch -c"
* Fixed segfault caused by "rm -f"
* Fixed segfault caused by "ln -s -s" and similar abuses.
* Fixed segfault caused by "cp -a -a" and similar abuses.
* Implemented "rm -- <foo>"
updated docs accordingly.
-Erik
|
|
This patch checks if the name of FIFO to be created begins with "-" and
calls usage() if it does.
Regards,
Pavel Roskin
|
|
Fix uname help info formatting.
-Erik
|
|
- Fixed error message when the command is not specified (possibly crash on
libc5 systems!)
- Debugging output removed
- Using fatalError() whenever appropriate
Regards,
Pavel Roskin
|
|
-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
|
|
-Erik
|
|
-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
|
|
(adapted) now replaces BSD tr. Goes from 5k to 1k, and eliminates
bsearch from the list of libc symbols.
-Erik
|
|
a big "P" Policy violator -- logname was using getlogin(3), which uses
utmp under the hood. We don't need no stinkin' utmp (and if we
are using tinylogin, it is unlikely to be useful trying).
-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
|
|
due to a parsing bug. Oops.
-Erik
|
|
compatability.
-Erik
|
|
|
|
+ busybox.def.h
BB_FEATURE_TRIVIAL_HELP
+ uname.c has an example of how BB_FEATURE_TRIVIAL_HELP
is to be applied.
|
|
-Erik
|
|
-Erik
|