c8e278f54b
- make sure applets.o is rebuilt when the .config changes. - don't overwrite objects in the archive. Affected applets with name-clash mostly vs. libbb: iplink_main iproute_main iptunnel_main login_main run_parts_main
Bernhard Reutner-Fischer
2006-03-02 18:13:05 +00:00
9b6b894422
- allow for make /path/to/dir/file.o
Bernhard Reutner-Fischer
2006-03-02 17:38:15 +00:00
022eb311d5
- use absolute path for top_builddir and top_srcdir. Fixes make trying to include the very same file in an endless loop.
Bernhard Reutner-Fischer
2006-03-02 17:33:25 +00:00
c0bb308389
- silence warning about "'free_and_close_stuff' used but never defined"
Bernhard Reutner-Fischer
2006-03-02 10:06:22 +00:00
cfc5d860e6
Denis Vlasenko writes: make sizes was rebuilding busybox - unstripped one!
Bernhard Reutner-Fischer
2006-03-02 09:44:32 +00:00
5d26126b9e
- fixes parallel builds (make -j) - use less resources for the buildsystem itself
Bernhard Reutner-Fischer
2006-03-01 22:54:48 +00:00
12c2429a42
Fixup to make warnings from the last patch go away.
Rob Landley
2006-03-01 21:36:18 +00:00
08abe64d91
Selinux fix from Jan Kiszka.
Rob Landley
2006-03-01 20:48:44 +00:00
b7f39732f8
- fix compilation of sed. error: static declaration of 'free_and_close_stuff' follows non-static declaration Tiny whitespace cleanup while at it, also make sure that we don't use CONFIG_ anymore.
Bernhard Reutner-Fischer
2006-03-01 20:14:16 +00:00
e7c43b66d7
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x) from before "if(x) free(x)".
Rob Landley
2006-03-01 16:39:45 +00:00
93f2286e6e
When gnu fails this one we shouldn't let it _hang_...
Rob Landley
2006-03-01 16:32:35 +00:00
e8e7811fb4
Yet more sed tests. Passing these is a to-do item for 1.1.2 or 1.2, not a 1.1.1 issue.
Rob Landley
2006-03-01 16:32:01 +00:00
325da7b509
use bb_xstrndup vs strndup. Thanks rfelker.
"Vladimir N. Oleynik"
2006-03-01 05:39:41 +00:00
5c2b238b3a
more busybox's style: close bug 745
"Vladimir N. Oleynik"
2006-02-28 10:15:42 +00:00
716bbe96d4
make grep faster (close bug 758), reduce small memory leak in CONFIG_FEATURE_CLEANUP mode
"Vladimir N. Oleynik"
2006-02-28 10:10:19 +00:00
73804d6f7e
more security: don't start shell code from argv
"Vladimir N. Oleynik"
2006-02-28 08:23:27 +00:00
8bbee85214
defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it remove residue of old defconfig and tweak "make with no config" to run defconfig before bringing up menuconfig.
Rob Landley
2006-02-28 05:26:13 +00:00
2fe4eac4ea
Cosmetic cleanup from tito.
Rob Landley
2006-02-28 04:45:24 +00:00
e813ddba18
Cleanup from Glenn McGrath.
Rob Landley
2006-02-28 03:53:14 +00:00
0817313255
- whitespace cleanup from Tito.
Bernhard Reutner-Fischer
2006-02-27 22:34:41 +00:00
4217bab02e
Patch from Glenn McGrath to remove code that opens a file but does nothing with it.
Rob Landley
2006-02-26 04:42:05 +00:00
5ba2fb2c9d
remove duplicate license notice
Mike Frysinger
2006-02-25 07:57:32 +00:00
983e0ca89e
strip out unneeded comments
Mike Frysinger
2006-02-25 07:42:02 +00:00
5c06b277ce
fdisk unmaintained now :(
"Vladimir N. Oleynik"
2006-02-25 07:20:15 +00:00
5527b9117e
Another clean-up patch from Garrett.
Rob Landley
2006-02-25 03:46:10 +00:00
736e52532e
Minor cleanup from Garrett Kajmowicz.
Rob Landley
2006-02-25 03:36:00 +00:00
b73451daee
Cleanup from Denis Vlasenko.
Rob Landley
2006-02-24 16:29:00 +00:00
75cc0cace3
I was playing around with a dependency generator a couple weeks ago and I found some #include files that aren't in the tree. No biggie...
Rob Landley
2006-02-24 03:15:34 +00:00
883e0e83f2
Missed one in the get_line_from_file() update...
Rob Landley
2006-02-24 03:12:03 +00:00
3cb94d2eb3
Move FAQ under docs, add programming.html to docs list.
Rob Landley
2006-02-24 02:55:24 +00:00
f6ddadc172
Mention patches directory as a read-only svn alternative.
Rob Landley
2006-02-24 02:48:49 +00:00
2b26fd5570
A few changes falling out from the effort to make sed handle embedded NUL bytes. Checking in to reduce the diff between my tree and svn...
Rob Landley
2006-02-24 02:30:39 +00:00
5c22c11de2
Add a test suite for seq.
Rob Landley
2006-02-24 01:45:58 +00:00
0612b5fa68
add exception for uncuddling brackets
Mike Frysinger
2006-02-24 01:18:24 +00:00
6b6edf959d
Lots of tests the fix to sed needs to pass...
Rob Landley
2006-02-23 23:13:16 +00:00
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