b21837714a
Documentation update: more detail on vfork.
Rob Landley
2006-02-23 19:59:34 +00:00
73a20f3551
"sed 2 -2 10" was very unhappy. Made the thing bigger fixing it, fiddled a bit to get the size back down as much as I could...
Rob Landley
2006-02-23 19:54:48 +00:00
ed7bb6278d
- put NLS stuff in one central place to avoid redefines. Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
Bernhard Reutner-Fischer
2006-02-23 14:25:15 +00:00
51be57e4df
Convert all the applets from #include to USE(). Had to fix some nonstandard naming along the way to get USE() macros for everything.
Rob Landley
2006-02-23 00:42:25 +00:00
0923063ebb
add myself and Bernhard
Mike Frysinger
2006-02-23 00:21:22 +00:00
23ca7253be
test to make sure applets are in alphabetical order
Mike Frysinger
2006-02-22 23:38:57 +00:00
73b4710974
fix applet order
Mike Frysinger
2006-02-22 23:33:39 +00:00
992a58c216
document leading + option
Mike Frysinger
2006-02-22 22:56:30 +00:00
c6d09a6276
You don't need an #ifdef around #defines in usage.
Rob Landley
2006-02-22 20:33:15 +00:00
0a7c8ef6e2
Patch from Denis Vlasenko to constify things and fix a few typos.
Rob Landley
2006-02-22 17:01:00 +00:00
fb16d5c6aa
Tweak my entry.
Rob Landley
2006-02-22 15:40:38 +00:00
e8f504e86d
Bug 751: file handle leaks can add up until available filehandles for the process are exhausted.
Rob Landley
2006-02-22 02:10:34 +00:00
d6e14d8bee
Don't build directory libraries unless we're building an applet that needs it. Cherry-picked from Devin Bayer's big MacOS X patch.
Rob Landley
2006-02-21 19:11:35 +00:00
6f2a0b2275
Small tweak cherry-picked from Devin Bayer's monster MacOS X patch.
Rob Landley
2006-02-21 18:34:54 +00:00
87b9573ff8
Forgot to check this in last night, part of the hash_fd breakup.
Rob Landley
2006-02-21 15:04:07 +00:00
5cf7c2df66
Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).)
Rob Landley
2006-02-21 06:44:43 +00:00
a7e3d05208
Create /dev/root symlink pointing to real root device, if any.
Rob Landley
2006-02-21 06:11:13 +00:00
c5789a6e23
Walter Harms added -D to date, and I did a code cleanup while I was in the area. Probably broke something...
Rob Landley
2006-02-21 05:06:42 +00:00
bf28ed8834
eat extraneous newlines at the end of applet full usage
Mike Frysinger
2006-02-21 04:32:03 +00:00
0a6b0bfa7a
add setarch/linux32/linux64 applet
Mike Frysinger
2006-02-21 04:26:52 +00:00
ea6360e393
Missed a file in the last checkin, won't build without this...
Rob Landley
2006-02-21 03:12:15 +00:00
57f4cb2867
a few more comment touchups
Mike Frysinger
2006-02-21 00:50:37 +00:00
e17c80e604
translate Russian-English to just plain English
Mike Frysinger
2006-02-21 00:37:42 +00:00
a2841e6d4b
Patch from Giuseppe Ciotta to specify retry count.
Rob Landley
2006-02-20 23:26:38 +00:00
0d8766a3b1
Rename UNUSE() to SKIP().
Rob Landley
2006-02-20 23:05:06 +00:00
06249fee39
Bug 640: a filename of length exactly 100 could bleed into the next field on display or extract. (Only shows up when no gnu longname extension, either because it's disabled or because tarball hasn't got it.)
Rob Landley
2006-02-20 19:28:53 +00:00
dcbad607fc
add s390x to the list
Mike Frysinger
2006-02-20 19:28:34 +00:00
7673ccad60
sync with mainstream, but check more
"Vladimir N. Oleynik"
2006-02-20 16:57:36 +00:00
081d6d4380
getdomainname() isn't guaranteed to null terminate the string if it was truncated for length. SVN 14135 made sure that the truncated version would always be null terminated. SVN 14144 broke this for no readily apparent reason, and I have no idea what it was even trying to accomplish. Reverted.
Rob Landley
2006-02-20 16:31:44 +00:00
b4ec339ac2
Update comment.
Rob Landley
2006-02-20 14:39:55 +00:00
0c6ff43a0c
remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION
"Vladimir N. Oleynik"
2006-02-20 12:15:10 +00:00
4e9deec8bf
svn 14077 was completely broken and apparently never tested.
Rob Landley
2006-02-20 02:44:30 +00:00
eb00afb2d5
The gentoo security guys found another way to segfault busybox's decompression code: we can do a null dereference if one of our huffman tables has all zero length codes. This fixes it. (Thanks solar.)
Rob Landley
2006-02-20 02:18:03 +00:00
dce17c6268
rfelker writes in Bug 742: make sure string is null terminated after calling gethostname
Mike Frysinger
2006-02-19 23:03:31 +00:00
294254ce6b
rfelker writes in Bug 740: s/u_char/unsigned char/
Mike Frysinger
2006-02-19 22:59:12 +00:00
da2a7d6b20
rfelker writes in Bug 738: sys/sysmacros.h is needed for makedev
Mike Frysinger
2006-02-19 22:47:51 +00:00
dfd902b7ff
rfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.h
Mike Frysinger
2006-02-19 22:43:58 +00:00
4b33f7aa41
rfelker writes in Bug 734: Nothing from err.h is used, but cal.c includes it, breaking compile on systems lacking this function.
Mike Frysinger
2006-02-19 22:41:41 +00:00
611e085c20
kill all .depend files
Mike Frysinger
2006-02-18 20:13:22 +00:00
a568ef2343
hide bb_mkdep build
Mike Frysinger
2006-02-18 20:12:39 +00:00
ebee0e7705
fix building on ppc64
Mike Frysinger
2006-02-18 06:14:31 +00:00
06776b3650
type typo. Thanks, Devin Bayer
"Vladimir N. Oleynik"
2006-02-17 09:33:22 +00:00
b267f13c61
quick copy-paste typo
"Vladimir N. Oleynik"
2006-02-17 09:05:41 +00:00
efae294b15
Fix for an integer overflow bug that could cause a segfault on certain pathological archives.
Rob Landley
2006-02-17 05:19:40 +00:00
2c98c40ec8
The tendency of vi to auto-indent can be really annoying at times.
Rob Landley
2006-02-17 05:12:03 +00:00
f856eabcde
More whitespace than you can possibly imagine...
Rob Landley
2006-02-17 03:43:49 +00:00
27cd85b5be
Update Rogues Gallery.
Rob Landley
2006-02-17 02:38:00 +00:00
eaa3b29a6d
forgoten new file for 14080 revison
"Vladimir N. Oleynik"
2006-02-16 15:41:12 +00:00
dd1ccddf1b
moved BB_BANNER to applets/version.c file: make kernel like version, removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
"Vladimir N. Oleynik"
2006-02-16 15:40:24 +00:00
21e68703ce
removed #undef strlen, use builtins and prototuped strlen from xfunc file (only\!)
"Vladimir N. Oleynik"
2006-02-16 14:38:41 +00:00
cb9b114d35
isolate and show busybox`s changes
"Vladimir N. Oleynik"
2006-02-16 14:28:17 +00:00
5c1cd5fdd3
Putting together OPTIONFLAGS, sed needs the global flag to handle multiple options.
Rob Landley
2006-02-16 09:25:31 +00:00
006fa2d45b
When setting an environment variable by piping something into grep, backquotes can be useful. Also tweak an if case to be more portable.
Rob Landley
2006-02-16 09:00:57 +00:00
d1e38c07e6
Rogues gallery.
Rob Landley
2006-02-16 03:21:44 +00:00
c218a29325
add last terminal line
"Vladimir N. Oleynik"
2006-02-15 17:15:56 +00:00
9a51540b15
demo (UN)USE_FEATURE... usage
"Vladimir N. Oleynik"
2006-02-15 13:27:18 +00:00
6732af2766
full removed config.h, use bb_config.h only
"Vladimir N. Oleynik"
2006-02-15 12:29:37 +00:00
02794e1516
Fix bug 674: sum's block count should always round up.
Rob Landley
2006-02-14 17:47:05 +00:00
46e351d478
Patch from awk maintainer (Dmitry Zakhrov) to fix bugs 642, 663, and 667.
Rob Landley
2006-02-14 16:05:32 +00:00
5ba53c05fc
- commentary typos
Bernhard Reutner-Fischer
2006-02-14 10:43:40 +00:00
3afdfecf7e
restore change by Denis Vlasenko: file_to_buf must vary fast, best if inline
"Vladimir N. Oleynik"
2006-02-14 10:36:38 +00:00
465300ced9
cleanups after changes by Denis Vlasenko. Size optimization
"Vladimir N. Oleynik"
2006-02-14 10:17:09 +00:00
63ca3bfe9d
commentary typos. Thank by aldot
"Vladimir N. Oleynik"
2006-02-14 09:23:25 +00:00
a253e7361f
Rob Landley is busybox maintainer now. Eeek.
Rob Landley
2006-02-14 08:29:48 +00:00
d05981eaf1
Fix off by one error. (I know I had a reason for doing that, but I have _no_ idea what it was...)
Rob Landley
2006-02-14 07:33:45 +00:00
b2804551a0
Cleanups from Denis Vlasenko.
Rob Landley
2006-02-13 22:04:27 +00:00
90632d021c
Bug fix from Kim B. Heino, manifested via: echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
Rob Landley
2006-02-13 19:40:43 +00:00
7bfa88f315
New USE() macros
Rob Landley
2006-02-13 19:16:41 +00:00
f251ec6847
- commentary typos
Bernhard Reutner-Fischer
2006-02-12 11:25:32 +00:00
c29a0f371a
More random documentation.
Rob Landley
2006-02-12 00:45:39 +00:00
4926d643ea
Missed this in svn 13701.
Rob Landley
2006-02-10 21:38:20 +00:00
4a1d874e1d
Another item.
Rob Landley
2006-02-10 21:36:53 +00:00
cc6d8d30ec
Fix umount so it works if there's no /etc/mtab or /proc/mounts, make umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete defconfig file (which was supposed to be part of the previous checkin).
Rob Landley
2006-02-08 20:06:57 +00:00
1ab4c3dc25
Help text update and tweak to defconfig to remove two more things that the "maximum sane configuration" shouldn't have. (Explicit MTAB support in mount, which you should only need if you have no /proc, and FEATURE_CLEAN_UP, which exists to humor valgrind and otherwise just bloats the code).
Rob Landley
2006-02-08 18:50:17 +00:00
32251b4825
Convert some help text to english.
Rob Landley
2006-02-08 18:34:21 +00:00
271aa40a15
add back in path nulling after calling find_dev() since it is needed for now ...
Mike Frysinger
2006-02-07 06:10:45 +00:00
27a74e8017
Cristian Ionescu-Idbohrn writes: force enough space padding so that applet names always end up on their own line
Mike Frysinger
2006-02-07 00:58:11 +00:00
0380166916
space out supported applet names so the config list doesnt wrap on an 80col terminal
Mike Frysinger
2006-02-07 00:51:07 +00:00
4fcefb9e90
fixup whitespace in awk help output
Mike Frysinger
2006-02-06 23:38:59 +00:00
30a6bba65f
Bug 677: there are apparently still people using telnet.
Rob Landley
2006-02-06 02:49:45 +00:00
ba9c4d1f89
get rid of warnings with applets that have no usage and get rid of pointless --- separator between applets
Mike Frysinger
2006-02-06 01:11:34 +00:00
f37529d6b6
if the .pl script gets updated, force doc regen
Mike Frysinger
2006-02-05 22:15:39 +00:00
b0ed3d7cc0
Rob Sullivan writes: Here's a patch to autogenerate the list of applets in the Busybox documentation
Mike Frysinger
2006-02-05 22:10:40 +00:00
bec26527a1
Save a few bytes in error message.
Rob Landley
2006-02-05 03:31:44 +00:00
a421ba8203
cleanup style ... just because you use less spaces doesnt mean the resulting code is smaller
Mike Frysinger
2006-02-03 00:25:37 +00:00
248d2220f9
shrink the code a bit
Mike Frysinger
2006-02-03 00:19:42 +00:00
53d57dbe6b
gavinl writes in Bug 661: if read() file return less than 1, we should close the fd and then goto end.
Mike Frysinger
2006-02-03 00:16:53 +00:00
5509228a7b
alphabetical order and fix mdev comments about echo>/sys vs echo>/proc/sys
Mike Frysinger
2006-02-02 23:14:57 +00:00
35cf19d741
fix mdev help output
Mike Frysinger
2006-02-02 22:52:59 +00:00
4fc92206ed
destroy bug 679, use getopt_ulflags with new feature: usage option. Removed two strdup
"Vladimir N. Oleynik"
2006-02-02 14:48:54 +00:00
b38673fb9f
make the build system puuuuuuuuuuurty
Mike Frysinger
2006-02-02 01:41:53 +00:00
87be316149
more better for me signed<->unsigned and the const keyword usage
"Vladimir N. Oleynik"
2006-01-31 14:25:52 +00:00
4333a09d65
add feature: support for running scripts through an interpreter. Thanks Florian Schirmer <jolt@tuxbox.org>
"Vladimir N. Oleynik"
2006-01-31 13:53:30 +00:00
1f17d3287a
more obscure
"Vladimir N. Oleynik"
2006-01-31 12:36:51 +00:00
7600eec732
avoid signed<->unsigned warning
"Vladimir N. Oleynik"
2006-01-31 12:12:15 +00:00