Eric Andersen
e57d54b456
Fix ls behavior for broken or very narrow terminals. Fix my_*
...
functions so they comply with the original interface (i.e. don't
exit on error, stringify uids and gids when no amtching name found).
-Erik
2001-01-30 18:03:11 +00:00
Matt Kraai
ceade5c856
Fix missing header file.
2001-01-29 18:41:12 +00:00
Eric Andersen
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for
...
a release. Update the website with release details.
-Erik
2001-01-27 09:33:39 +00:00
Eric Andersen
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
...
busybox.h which slowed compiles. I left only what was needed and then fixed up
all the apps to include their own header files. I also fixed naming for pwd.h
and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc.
-Erik
2001-01-27 08:24:39 +00:00
Eric Andersen
ab050f5522
Add in a patch to make busybox use the normal pwd.h and grp.h
...
functions. Add in simple implementations of these functions,
which can, optionally, be used instead of the system versions.
-Erik
2001-01-27 06:01:43 +00:00
Eric Andersen
a528dc7071
Fix my braindamage -- remove termios and sighandling since they are not
...
needed at all. My bad.
-Erik
2001-01-26 18:30:12 +00:00
Eric Andersen
1e4b957ac3
I am an idiot. Looking over my patch, ls doesn't need to do anything
...
more then the ioctl to get the win size. None of the termios handling
crap is needed.
-Erik
2001-01-26 18:09:13 +00:00
Eric Andersen
5c9c8b4b26
Make cin be static
2001-01-26 06:50:46 +00:00
Eric Andersen
5307eca7de
Make ls understand termios.
...
-Erik
2001-01-26 01:52:43 +00:00
Eric Andersen
d35c21587a
Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
...
-Erik
2001-01-25 23:49:09 +00:00
Eric Andersen
c1b8f1224c
Apply a patch from Brent Priddy <brent.priddy@adtran.com> to add
...
'id -n' support.
-Erik
2001-01-25 05:12:02 +00:00
Eric Andersen
f5d5e77321
more bugs fixed -- found doing regression testing
...
-Erik
2001-01-24 23:34:48 +00:00
Eric Andersen
f6c6d9aacc
Remove the warning messages. By consensus, netkit-tiny doesn't
...
need to happen.
2001-01-24 18:44:54 +00:00
Eric Andersen
24be980004
Fix spelling. s/maintainence/maintenance/
2001-01-24 17:37:07 +00:00
Mark Whitley
59ab025363
#define -> static const int. Also got rid of some big static buffers.
2001-01-23 22:30:04 +00:00
Eric Andersen
e132119f07
Fix silly typo
2001-01-22 22:50:01 +00:00
Eric Andersen
6705986f27
Warn about apps that will be going away in release 0.50
...
-Erik
2001-01-22 22:48:42 +00:00
Richard June
6d0921cc0b
Add HUMAN_READABLE define for -m and -h support in du, df, and ls
...
Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default)
Fix bug #1084
2001-01-22 22:35:38 +00:00
Matt Kraai
12f417edbd
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to
...
Vladimir N. Oleynik.
2001-01-18 02:57:08 +00:00
Matt Kraai
c9acf8c766
Complicate truncate behavior.
2001-01-17 00:21:05 +00:00
Mark Whitley
eb60d8bcd1
Turned some #define constants into static const ints.
2001-01-05 18:19:30 +00:00
Matt Kraai
55bccf315e
Rewrote tail.
2001-01-05 02:57:53 +00:00
Mark Whitley
6c6ea6cba2
Changed email address to codepoet.org, updated list of applets / docs I
...
maintain in AUTHORS.
2001-01-04 22:21:13 +00:00
Matt Kraai
e6e818309e
Improvements from Vladimir N. Oleynik.
2000-12-30 07:46:23 +00:00
Matt Kraai
a9819b2908
Use busybox error handling functions wherever possible.
2000-12-22 01:48:07 +00:00
Eric Andersen
e111d69ca2
Turns out, md5sum was broken anyways. It uses backwards TRUE/FALSE
...
and wasnever updated when TRUE and FALSE were fixed. So kludge it
by doing an #undef TRUE, then define it backwards...
2000-12-20 23:19:42 +00:00
Eric Andersen
70da6a66d2
Fix a warning in sh.c. Remove use of getline() in md5sum since
...
nobody else uses it and it is a GNU extension anyways...
2000-12-20 22:59:16 +00:00
Matt Kraai
5e8c0ffb75
Rewrote.
2000-12-20 20:49:56 +00:00
Matt Kraai
24ac017961
Rewrote dd.
2000-12-18 21:38:57 +00:00
Matt Kraai
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
2000-12-18 03:57:16 +00:00
Matt Kraai
0dab829977
Add missing newlines to error messages.
2000-12-18 03:08:29 +00:00
Eric Andersen
bd193a42a5
Fix from Matt Kraai -- a better way to NULL terminate strings for the
...
my_* passwd and group routines. I should have thought of doing it
this way...
2000-12-13 01:52:39 +00:00
Eric Andersen
483262f633
Patch from Matt Kraai to fix 'dirname /'
2000-12-12 23:27:48 +00:00
Eric Andersen
b12e506d8d
du.c error msg cleanup from Kent Robotti
2000-12-12 23:17:26 +00:00
Eric Andersen
a293a516ad
Patch from kent robotti to fix a buglet where
...
# du doesn't_exist
du: doesn't_exist: No such file or directory
0 doesn't_exist
which was on course wrong. I simplified it a bit...
2000-12-11 17:08:21 +00:00
Eric Andersen
9df3833370
Fix problem where 'du file_that_exists' doesn't work.
2000-12-09 17:07:12 +00:00
Eric Andersen
5b5db38a7d
Patch from Matt Kraai to implement uniq -[cdu]
2000-12-09 16:37:53 +00:00
Mark Whitley
f57c944e09
Changed names of functions in utility.c and all affected files, to make
...
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07 19:56:48 +00:00
Matt Kraai
87afb526b5
Get rid of redundant TRUE and FALSE definitions.
2000-12-07 16:11:50 +00:00
Eric Andersen
8ffabf5825
Patch from Matt Kraai to fix 'echo "1 2 3" | tr -s " "'
...
so it properly outputs "1 2 3".
2000-12-06 22:53:06 +00:00
Matt Kraai
e884970c87
Must compile before committing.
2000-12-06 15:56:31 +00:00
Matt Kraai
92ed8a3519
Fix exit status on failure.
2000-12-06 15:55:23 +00:00
Matt Kraai
d27753afd9
Use perrorMsg instead of perror and keep removing files if we encounter
...
an error.
2000-12-05 05:11:41 +00:00
Eric Andersen
87559829ff
Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
...
so no point acting like we do.
2000-12-01 19:02:24 +00:00
Matt Kraai
3e856ce428
Stop using TRUE and FALSE for exit status.
2000-12-01 02:55:13 +00:00
Eric Andersen
8fff78d66e
Apply the BSD echo version submitted by Jonas Holmberg <jonas.holmberg@axis.com>
2000-11-29 22:40:59 +00:00
Eric Andersen
ddea368dbe
Apply rev #2 of dd fix from Gennady Feldman.
2000-11-29 22:33:02 +00:00
Eric Andersen
7b5d59464f
Apply a patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to close
...
bug 1069. This shaves about 100 bytes from the executable, and about
200 bytes of heap usage. Also document the "-d" option in the usage
message.
2000-11-29 22:01:42 +00:00
Eric Andersen
cf1189f5a7
Patch from Matt Kraai to fix an infinate loop with ls -aR
2000-11-29 21:52:06 +00:00
Matt Kraai
9a71af54f5
Fix behavior when removal fails.
2000-11-22 01:09:38 +00:00