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
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
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
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
5c9c8b4b26
Make cin be static
2001-01-26 06:50:46 +00:00
5307eca7de
Make ls understand termios.
...
-Erik
2001-01-26 01:52:43 +00:00
f5d5e77321
more bugs fixed -- found doing regression testing
...
-Erik
2001-01-24 23:34:48 +00:00
59ab025363
#define -> static const int. Also got rid of some big static buffers.
2001-01-23 22:30:04 +00:00
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
12f417edbd
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to
...
Vladimir N. Oleynik.
2001-01-18 02:57:08 +00:00
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
2000-12-18 03:57:16 +00:00
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
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
3e856ce428
Stop using TRUE and FALSE for exit status.
2000-12-01 02:55:13 +00:00
cf1189f5a7
Patch from Matt Kraai to fix an infinate loop with ls -aR
2000-11-29 21:52:06 +00:00
e93abf9e69
Fixed user and group name listing.
2000-11-18 01:08:24 +00:00
3e07541e5f
This was redundant
2000-10-29 07:02:47 +00:00
a5bd26831f
Make features independent.
2000-10-28 06:40:09 +00:00
b273d66518
We also need to declare info if the USERNAMES feature is enabled.
2000-10-28 01:21:22 +00:00
9a6e67c960
Consolidate stat(2) and lstat(2) calls and error handling.
2000-10-13 18:03:21 +00:00
33fdae54d1
Exit with failure status if we are unable to list any files or
...
directories. Patch thanks to Kent Robotti <robotti@metconnect.com >.
2000-10-13 17:59:43 +00:00
e7e1e2dcad
Apply a patch from Matt Kraai to fix buffer overrun and convert to
...
using synamically allocated storage.
-Erik
2000-10-12 22:40:14 +00:00
958c78f9a1
Apply a patch from Matt Kraai:
...
"The -L option to ls doesn't behave correctly for files listed explicitly
on the command line, only those in directories that are listed. The
appended patch fixes this problem. Would someone please commit it?"
-Erik
2000-10-09 17:51:25 +00:00
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
a2f2a8f8c0
Add support for the -L option to ls.
2000-09-22 03:11:47 +00:00
8a2e56c5df
Large file >2Gib support.
2000-09-21 02:23:30 +00:00
11c655295c
New ls sorting patch, as written by Sterling Huxley, and then updated
...
by kent robotti. I then updated it to use my_getpwuid and my_getgrgid
(per busybox policy).
-Erik
2000-09-07 17:24:47 +00:00
3a0f4baf2f
Fixed a warning about a label not being used
2000-08-22 15:47:57 +00:00
79565b6c91
Add optional ls file sorting, thanks to a patch from
...
Sterling Huxley <sterling@europa.com >
-Erik
2000-08-11 18:10:21 +00:00
88f50b6bf5
Some #include updates.
...
-Erik
2000-08-10 17:59:11 +00:00
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
c674d70699
Comment on kernel stuff
...
-Erik
2000-07-10 22:57:14 +00:00
bd22ed8067
Update files to reduce dependance on kernel version...
...
-Erik
2000-07-08 18:55:24 +00:00
5d893b6beb
Remove MAXNAMLEN and use BUFSIZ instead.
...
-Erik
2000-07-06 01:57:20 +00:00
7c31ea4e29
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
...
<dvrabel@arcom.co.uk >. Seems some ftp clients expect the '-g' option
to exist.
-Erik
2000-07-03 14:55:49 +00:00
a42982e8f5
* Fixed 'swapon -a' and 'swapoff -a', which were broken.
...
* Fixed 'mount -a' so it works as expected.
* Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE)
-Erik
2000-06-07 17:28:53 +00:00
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
4f3f757d56
Latest and greatest. Some effort at libc5 (aiming towards newlib)
...
compatability.
-Erik
2000-04-28 00:18:56 +00:00
9cf3bfa7c1
More doc updates for BusyBox, with fixes to apps for bugs revealed
...
while trying to write docs . :-)
-Erik
2000-04-13 18:49:43 +00:00
1ad302ac90
The new tar for busybox is now done, and works just fine
...
for extracting files. Creation of tarballs is next...
-Erik
2000-03-24 00:54:46 +00:00
298854f029
My latest ramblings.
...
-Erik
2000-03-23 01:09:18 +00:00
9ffdaa647e
Updates
...
-Erik
2000-02-11 21:55:04 +00:00
e49d5ecbbe
Some formatting updates (ran the code through indent)
...
-Erik
2000-02-08 19:58:47 +00:00
fac10d7c59
A few minor updates. ;-)
...
Seriously though, read the Changelog for busybox 0.42,
which this is about to become...
-Erik
2000-02-07 05:29:42 +00:00
ccc7488615
Fixed ls formatting for 8 char user names.
...
-Erik
2000-01-27 02:40:21 +00:00
1266a13e1f
* sed now supports addresses (numeric or regexp, with negation) and
...
has an append command, thanks to Marco Pantaleoni <panta@prosa.it >
* Fixed dmesg. It wasn't parsing its options (-n or -s) properly.
* Some cosmetic fixes to ls output formatting to make it behave more
like GNU ls.
-Erik
1999-12-29 22:19:46 +00:00
394f764e7d
Stuf
1999-11-23 21:38:12 +00:00
e1850ddde4
Stuf
1999-11-19 05:42:32 +00:00
08b1034f4f
Stuf
1999-11-19 02:38:58 +00:00
50d6360771
Stuff
1999-11-09 01:47:36 +00:00