Eric Andersen
1ca20a7747
A nice patch from Larry Doolittle that adds -Wshadow and
...
cleans up most of the now-revealed problems.
2001-03-21 07:34:27 +00:00
Eric Andersen
92d23245c9
Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>
2001-03-19 23:49:41 +00:00
Eric Andersen
40eaa9f0bb
Size optimization for rdate from Vladimir
2001-03-19 19:41:54 +00:00
Eric Andersen
0d3a02eba7
Update the documentation so examples are autoincluded in the output text.
...
Fix up docs/busybox.pod with the latest autogenerated output.
-Erik
2001-03-15 18:14:25 +00:00
Mark Whitley
20f61d35de
The patch I previously applied from Brian Webb was 2 lines off. Oops.
2001-03-14 17:30:44 +00:00
Mark Whitley
bd2e42f162
Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA.
...
Apparently, the mount() call does not like taking a stack allocated pointer.
2001-03-12 23:17:26 +00:00
Eric Andersen
4aaf89f49f
Silence a silly warning
2001-03-09 22:17:59 +00:00
Eric Andersen
3e6ff9017f
A cleanup patch from Jeff Garzik to static-ify a number of
...
namespace polluting things that really should be static.
2001-03-09 21:24:12 +00:00
Eric Andersen
eba8ed71f0
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
...
warnings with glibc 2.2 and use always use xfopen
-Erik
2001-03-09 14:36:42 +00:00
Glenn L McGrath
323434be42
Dont try to automount some specific filesystem types
2001-03-02 22:21:34 +00:00
Eric Andersen
de4406747b
Bah. I missed a header file.
2001-03-01 07:55:49 +00:00
Eric Andersen
7b91f02021
Reduce the size of mount (and bypass /proc/filesystems) by using the sysfs
...
system call, based on work done by Glenn McGrath in December.
-Erik
2001-03-01 07:50:04 +00:00
Matt Kraai
93ba60f01d
Keep trying if an NFS mount fails, and eliminate a call to exit(3).
2001-02-28 15:33:12 +00:00
Mark Whitley
e677dfedd1
Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope var
...
masking outer scope var with same name' bug that was preventing the loopback
device from being unmounted if mount() fails.
2001-02-26 17:45:58 +00:00
Eric Andersen
d160a27ec1
Stub out the syscall, not the whole application. The stubbed
...
out syscall sets errno properly and whines about missing kernel
support.
-Erik
2001-02-24 19:17:07 +00:00
Eric Andersen
0ed9923887
Stub out pivot_root so it won't fail to compile.
...
-Erik
2001-02-23 02:31:03 +00:00
Eric Andersen
5723934f7c
Yet another fix. I think I got it this time.
...
-Erik
2001-02-23 01:39:26 +00:00
Eric Andersen
ffc40bf3de
Account for remainder, and reset page_height for each and every page.
2001-02-22 21:49:32 +00:00
Eric Andersen
be30a6b8b0
Adjust the terminal height for any overlap, so that no lines
...
get lost off the top
-Erik
2001-02-22 00:22:46 +00:00
Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
header file usage before the 0.49 release. To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
-Erik
2001-02-20 06:14:08 +00:00
Eric Andersen
f57a832063
Remove leftover junk
2001-02-18 20:11:38 +00:00
Eric Andersen
733c4ad6eb
Do usage messages the same way all other apps fo them.
...
Skip printing of available options (can't do this easily).
Based on a patch by Larry Doolittle.
-Erik
2001-02-16 18:41:12 +00:00
Glenn L McGrath
3f5bcbfa3c
Fix warning for implicit declaration of time()
2001-02-16 10:33:30 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
2001-02-14 21:23:06 +00:00
Eric Andersen
6fd8c664c1
Apply a patch from Evin Robertson -- new pivot_root applet.
...
-Erik
2001-02-13 20:04:30 +00:00
Eric Andersen
c3fc3c5e7a
It seems I stupidly checked in a silly test I was making.
...
-Erik
2001-02-02 15:15:36 +00:00
Eric Andersen
af4ac77d9d
Apply a patch from Larry Doolittle to add "-all" and "-none" switches
...
to multibuild.pl. I did a little formatting adjustments to make it
_very_ obvious when things stop working. I also removed the USE_PROCFS
config option -- just do the right thing when USE_DEVPS_PATCH is enabled.
-Erik
2001-02-01 22:43:49 +00:00
Mark Whitley
065c7e779a
Applied patch from Chris Jaeger <cjaeger@ensim.com> to do better checking for
...
NFS_MOUNT_VERSION, depending on which kernel you're running.
2001-02-01 19:51:13 +00:00
Eric Andersen
bd018b1bab
Make old compilers not choke -- define the attribute in the func prototype.
2001-01-31 23:00:46 +00:00
Matt Kraai
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
65225df2dc
Cleanup patch from Vladimir N. Oleynik.
...
* mkdir: remove 3 lines in source code.
* mkfs_minix: save 32 bytes, remove 4 bugs.
* mkswap: save 64 bytes, remove 1 bug.
2001-01-31 17:35:02 +00:00
Mark Whitley
8526067336
Applied patch from Larry Doolittle to use preprocessor for defining
...
NFS_MOUNT_VERSION.
2001-01-30 18:53:42 +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
5c9c8b4b26
Make cin be static
2001-01-26 06:50:46 +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
6f65a3a7e8
More printf cleanups
2001-01-20 01:10:07 +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
fd4c58d7c5
Fix the exit status of umount -a, a casualty of the TRUE/FALSE normalization.
...
Thanks to Francois-R Boyer <boyerf@IRO.UMontreal.CA> for the report.
2001-01-17 00:12:11 +00:00
Eric Andersen
27c7bec4d4
Be more careful about dmalloc handling
2001-01-02 01:16:02 +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
16fdbe8b27
Make more things be static (like they are supposed to be).
2000-12-20 23:40: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
Eric Andersen
77508b29fa
Fix from Gennady Feldman for error msg
2000-12-12 23:51:43 +00:00
Eric Andersen
d9d03b83f8
Mount error return code fix from Kent Robotti -- we must reset the error
...
code when looping...
2000-12-12 23:20:37 +00:00
Glenn L McGrath
c52a97d79f
NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6-2.2-5
...
This just defines that if they arent found in the kernel header
2000-12-09 23:59:04 +00:00
Eric Andersen
afdde3e356
Some little cleanups from Larry Doolittle
2000-12-09 16:41:42 +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
92ed8a3519
Fix exit status on failure.
2000-12-06 15:55:23 +00:00