Mike Frysinger [Sat, 24 Sep 2005 06:07:34 +0000 (06:07 -0000)]
err, fix stupid mistake in previous do_findfs() change
Mike Frysinger [Sat, 24 Sep 2005 06:07:15 +0000 (06:07 -0000)]
add a attribute_noreturn macro
Mike Frysinger [Sat, 24 Sep 2005 06:01:57 +0000 (06:01 -0000)]
use brief license line
Mike Frysinger [Sat, 24 Sep 2005 05:58:39 +0000 (05:58 -0000)]
fix broken whitespace and remove pointless mkdir
Mike Frysinger [Sat, 24 Sep 2005 05:55:03 +0000 (05:55 -0000)]
make e2label and findfs optional
Mike Frysinger [Sat, 24 Sep 2005 05:49:36 +0000 (05:49 -0000)]
rename menu and touchup whitespace
Mike Frysinger [Sat, 24 Sep 2005 05:47:52 +0000 (05:47 -0000)]
make test an alias for check
Mike Frysinger [Sat, 24 Sep 2005 00:52:58 +0000 (00:52 -0000)]
cleanup option parsing
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 19:37:13 +0000 (19:37 -0000)]
- ifupdown needs run-parts. Thanks Derosnec for pointing this out.
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 17:42:33 +0000 (17:42 -0000)]
- remove dangling symlinks after the runs
- check if the temporary directory containing the links exists rather
than unconditionally creating it for every single applet.
Rob Landley [Fri, 23 Sep 2005 16:52:09 +0000 (16:52 -0000)]
We've gotten enough questions that are related to building systems rather
than anything about busybox that I'm deeming it a FAQ, and answering it.
I gave a quick swipe to a couple of other slightly stale questions along
the way. The busybox 1.01 README has much more detailed versions of these
answers, that should probably be propogated to the 1.1 line and perhaps bits
of it transplanted to the FAQ? (Or just have the README visible on the
web page someplace?)
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:56:39 +0000 (15:56 -0000)]
- set executable bit
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:44:46 +0000 (15:44 -0000)]
- introduce variable _BB_CONFIG_DEP to the new test harness.
This is used to see if given tests should be run (are available) or not.
Print "UNTESTED: descr" if the applet or feature is not available.
- add _BB_CONFIG_DEP to existing new.tests
- move old grep test to new test infrastructure and add a few more test for
grep.
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:40:15 +0000 (15:40 -0000)]
- add missing descriptions of supported arguments
Bernhard Reutner-Fischer [Fri, 23 Sep 2005 15:38:49 +0000 (15:38 -0000)]
- replace variables by defines to save space
- rename string denoting stdin from "-" to "(standard input)" to match
GNU grep.
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 13:50:24 +0000 (13:50 -0000)]
SUSv3 -q compatibily exit status correction for grep again
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 13:44:03 +0000 (13:44 -0000)]
SUSv3 -q compatibily exit status correction for grep
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 13:23:15 +0000 (13:23 -0000)]
grep must have exit code >1 if input file not found. Small indent correcion also.
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 11:25:29 +0000 (11:25 -0000)]
more make safe the exported namespace for udhcp. Move to bb-specific file for reduce change into udhcp-CVS
"Vladimir N. Oleynik" [Fri, 23 Sep 2005 10:44:02 +0000 (10:44 -0000)]
remove 1 exported
Paul Fox [Thu, 22 Sep 2005 19:03:24 +0000 (19:03 -0000)]
move a couple of functions from common code (options.c) to udhcpd private
code (files.c) to make udhcpc a little smaller.
Paul Fox [Thu, 22 Sep 2005 18:59:13 +0000 (18:59 -0000)]
add support for setting the dhcp vendor class option (option 60).
udhcpc now has a -V (--vendorclass), which will replace the default
"udhcpRELEASE" string in this option.
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 15:07:33 +0000 (15:07 -0000)]
safe exported namespace for udhcp. Not full, bore :-(
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:38:17 +0000 (14:38 -0000)]
Reduce exported from msh applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:35:29 +0000 (14:35 -0000)]
Reduce exported from lash applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:33:15 +0000 (14:33 -0000)]
Reduce exported from hush applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 14:19:34 +0000 (14:19 -0000)]
quick patch - have removed stranges for me
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 13:26:23 +0000 (13:26 -0000)]
very small size reduce for nohup applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 13:13:23 +0000 (13:13 -0000)]
Reduce exported from ipcs applet
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 12:59:26 +0000 (12:59 -0000)]
more remove lost exported
"Vladimir N. Oleynik" [Thu, 22 Sep 2005 11:11:11 +0000 (11:11 -0000)]
network "default" --> bb_INET_default. Reduce 2 exported from find applet
Bernhard Reutner-Fischer [Wed, 21 Sep 2005 18:25:05 +0000 (18:25 -0000)]
- add applet nohup(1)
Bernhard Reutner-Fischer [Wed, 21 Sep 2005 17:38:30 +0000 (17:38 -0000)]
- make sure to include dmalloc.h at the very end of busybox.h or libbb.h.
"Vladimir N. Oleynik" [Wed, 21 Sep 2005 07:49:34 +0000 (07:49 -0000)]
moved include/bbconfigopts.h from miscutils to to top Makefile before generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 21:09:31 +0000 (21:09 -0000)]
- consolidated password helpers
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 21:08:10 +0000 (21:08 -0000)]
- consolidated password helpers into bb_pwd.c
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 21:06:17 +0000 (21:06 -0000)]
- rename libbb's password helpers as suggested in libbb.h
my_getpwnam -> bb_xgetpwnam /* dies on error */
my_getgrnam -> bb_xgetgrnam /* dies on error */
my_getgrgid -> bb_getgrgid
my_getpwuid -> bb_getpwuid
my_getug -> bb_getug
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 20:58:11 +0000 (20:58 -0000)]
- Remove unnecessary warning from libbb and move bb_wfopen_input near bb_wfopen
Bernhard Reutner-Fischer [Tue, 20 Sep 2005 20:32:02 +0000 (20:32 -0000)]
- typo in documentation
Rob Landley [Tue, 20 Sep 2005 18:19:34 +0000 (18:19 -0000)]
Get "make check" ($srcdir) to work with the new testsuite.
Rob Landley [Tue, 20 Sep 2005 14:09:57 +0000 (14:09 -0000)]
The testsuite/links directory wasn't being created.
"Vladimir N. Oleynik" [Tue, 20 Sep 2005 10:02:36 +0000 (10:02 -0000)]
This is strange typically modern mistake. Learn please: stat(2) used sys/types.h and not reverse
Mike Frysinger [Tue, 20 Sep 2005 03:01:29 +0000 (03:01 -0000)]
Bernhard Fischer writes:
Attachet patchlet updates the screenshot of busybox perusing the stable branch.
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 16:31:25 +0000 (16:31 -0000)]
remove duplicate depend, its work for bb_mkdepend
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 16:25:19 +0000 (16:25 -0000)]
correct build bbconfig applet, correct previous change
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 16:18:46 +0000 (16:18 -0000)]
corect build bbconfig applet, Thanks, Bernhard Fischer
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 14:25:55 +0000 (14:25 -0000)]
hmm, forgoten remove llseek?
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 14:23:46 +0000 (14:23 -0000)]
1) read from stdin work now
2) destroy segfault in number_process
3) removes dead code
complex patch my and Tito
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 13:48:39 +0000 (13:48 -0000)]
mke2fs.c can compiled for me, more bb_xstrdup and bb_xasprintf usage, remove 1 exporing, ext2fs_llseek/blkid_llseek->llseek
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 10:46:44 +0000 (10:46 -0000)]
destroy bug #421
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 10:28:43 +0000 (10:28 -0000)]
quick patchs: drop founded memory leak, more libbb, more C-compatibility, size reduction
"Vladimir N. Oleynik" [Mon, 19 Sep 2005 10:26:45 +0000 (10:26 -0000)]
small bug found after strength test
Mike Frysinger [Sun, 18 Sep 2005 04:43:32 +0000 (04:43 -0000)]
Bernhard Fischer writes:
Attached patch moves bbconfig's entry in Config.in in the alphabetically
correct place.
Rob Landley [Sun, 18 Sep 2005 00:58:49 +0000 (00:58 -0000)]
First cleanup pass, from Rob Sullivan. More to be done...
Rob Landley [Sat, 17 Sep 2005 11:13:25 +0000 (11:13 -0000)]
Tito pointed out that if readlink doesn't have -f, there's no need to call
the option parsing code at all.
Rob Landley [Fri, 16 Sep 2005 14:58:55 +0000 (14:58 -0000)]
Update TODO with mention of the CONFIG->ENABLE migration and ruminations
about FEATURE_CLEAN_UP.
"Vladimir N. Oleynik" [Fri, 16 Sep 2005 13:57:33 +0000 (13:57 -0000)]
speed up +10%, update (c), make CONFIG_FEATURE_MOD2_4 as config/feature/mod_2_4
"Vladimir N. Oleynik" [Fri, 16 Sep 2005 13:16:01 +0000 (13:16 -0000)]
more C-compatibily, Thanks Bernhard Fischer
"Vladimir N. Oleynik" [Fri, 16 Sep 2005 13:03:21 +0000 (13:03 -0000)]
removed 'less' section from TODO
"Vladimir N. Oleynik" [Fri, 16 Sep 2005 12:55:29 +0000 (12:55 -0000)]
ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
Paul Fox [Fri, 16 Sep 2005 12:48:18 +0000 (12:48 -0000)]
initialize a couple of vars whose warnings were suppressed because
i was building w/ debug on before, which suppresses optimization.
"Vladimir N. Oleynik" [Fri, 16 Sep 2005 12:32:22 +0000 (12:32 -0000)]
small change for highlihting flags, more busyboxes: indent, forward declaration, paste BSS
Paul Fox [Fri, 16 Sep 2005 12:20:05 +0000 (12:20 -0000)]
some combinations of status line and screen refresh don't give a
correct screen, and bug 215 reports trouble with the status line
on small screens.
with this change a) the status line should always be refreshed
properly, b) the status line is a little shorter than it used to
be ("I" instead of "--INSERT--"), c) the status line will be
truncated if it doesn't fit on the screen, and d) if the screen
is too narrow for an error or transient status message (from
psb() or psbs()), then that message will be followed by a "Hit
Return" prompt. (it wasn't until i did this last bit that the
size grew. with this, these changes add about 150 bytes.)
- pgf
Mike Frysinger [Fri, 16 Sep 2005 04:41:20 +0000 (04:41 -0000)]
accept unlimited number of swap arguments like the real swap{on,off} and shrink do_em_all a little
Mike Frysinger [Fri, 16 Sep 2005 04:21:25 +0000 (04:21 -0000)]
update for newer build system
Rob Landley [Thu, 15 Sep 2005 19:26:59 +0000 (19:26 -0000)]
New applet "less", from Rob Sullivan.
Rob Landley [Thu, 15 Sep 2005 18:33:30 +0000 (18:33 -0000)]
Whitespace patch (and removal of gratuitous use of cat) by Berhnard Fischer.
Rob Landley [Thu, 15 Sep 2005 18:22:43 +0000 (18:22 -0000)]
Amir Shalem observed that telnetd doesn't really require login, so forcing
it is wrong.
Manuel Novoa III [Thu, 15 Sep 2005 08:06:42 +0000 (08:06 -0000)]
Get rid of warnings, remove compat with older gnu uniq to truly conform to susv3, and cut size a bit.
Mike Frysinger [Thu, 15 Sep 2005 01:37:36 +0000 (01:37 -0000)]
Bernhard Fischer:
[busybox][patch][janitorial] correct typo in news.html and make site html compliant
Mike Frysinger [Thu, 15 Sep 2005 01:32:48 +0000 (01:32 -0000)]
BsAtHome writes in Bug 433:
Ping packets sent by busybox have wrong endian on f.x. mips32 (openwrt). Attatched is a patch that
uses htons() and ntohs() to be platform independent.
"Vladimir N. Oleynik" [Wed, 14 Sep 2005 16:59:11 +0000 (16:59 -0000)]
split libbb: moved xregcomp separatelly for speed up recompile
"Vladimir N. Oleynik" [Wed, 14 Sep 2005 16:22:50 +0000 (16:22 -0000)]
removed strange extern void xregcomp(... from some applets, but declared from libbb.h
"Vladimir N. Oleynik" [Wed, 14 Sep 2005 16:08:06 +0000 (16:08 -0000)]
FEATURE->ENABLE_FEATURE loses one for 'top' applet
Rob Landley [Wed, 14 Sep 2005 15:41:18 +0000 (15:41 -0000)]
Patch from Berhnard Fischer to keep duplicate objects out of the library.
"Vladimir N. Oleynik" [Wed, 14 Sep 2005 15:36:56 +0000 (15:36 -0000)]
remove unrequired dependences
Rob Landley [Wed, 14 Sep 2005 15:36:52 +0000 (15:36 -0000)]
Cleanup patch from tito: migrate option parsing to the bb_ functions and fix
types.
Rob Landley [Wed, 14 Sep 2005 15:28:15 +0000 (15:28 -0000)]
Cleanup patch from Tito.
"Vladimir N. Oleynik" [Wed, 14 Sep 2005 15:09:06 +0000 (15:09 -0000)]
bb_mkdep version 2.0. speed up *2, remove problem of find e2fsprogs/uu*.h, spelling corrections by Bernhard Fischer
Rob Landley [Wed, 14 Sep 2005 14:40:01 +0000 (14:40 -0000)]
Our config should write out each symbol once and only once, but still write
out all symbols in all sub-menus. I think this finally does it right.
Rob Landley [Wed, 14 Sep 2005 14:36:40 +0000 (14:36 -0000)]
Test full susv3 spec for uniq (except internationalization).
I think this covers it. We fail two corner cases, both of which are explicit
violations of the spec, and both of which gnu passes.
Paul Fox [Wed, 14 Sep 2005 14:08:38 +0000 (14:08 -0000)]
committing bug #7:
0000007: which and wd-located files
which doesn't search $PATH when there's a file in the WD with
the same name of the 'filename' parameter...
Mike Frysinger [Wed, 14 Sep 2005 00:07:26 +0000 (00:07 -0000)]
initial ppc64 support
Paul Fox [Tue, 13 Sep 2005 22:20:37 +0000 (22:20 -0000)]
allow either backspace or DEL, in addition to the user's erase
char, to be used in get_input_line()
"Vladimir N. Oleynik" [Tue, 13 Sep 2005 16:50:53 +0000 (16:50 -0000)]
bb_mkdep release. speed up *3, clearing, more comments
Mike Frysinger [Tue, 13 Sep 2005 02:29:39 +0000 (02:29 -0000)]
whitespace/syntax cleanups, dont mind me :p
Mike Frysinger [Tue, 13 Sep 2005 02:26:24 +0000 (02:26 -0000)]
touch up usage for swap utils
Rob Landley [Tue, 13 Sep 2005 01:30:19 +0000 (01:30 -0000)]
Cleanup patch from Tito.
Eric Andersen [Mon, 12 Sep 2005 21:42:48 +0000 (21:42 -0000)]
sysctl was seriously broken. And since in some cases 'CONFIG_SYSCTL'
could be included into application space via the kernel config option
of the same name, nasty compilation problems could result.
Eric Andersen [Mon, 12 Sep 2005 19:16:11 +0000 (19:16 -0000)]
Kunihiko IMAI writes:
We're using busybox and thank the authors.
I found a short buffer allocation at busybox/sysklod/syslod.c. It
mis-declares length of filenames, seems to forget for '\0' or two
column numbered suffix of backup files (ex. messages.10).
Here is a patch for the problem.
Thanks.
"Vladimir N. Oleynik" [Mon, 12 Sep 2005 16:39:47 +0000 (16:39 -0000)]
bb_mkdep speed up * 10!
"Vladimir N. Oleynik" [Mon, 12 Sep 2005 12:33:27 +0000 (12:33 -0000)]
new my scripts/mm_mkdep, dependences work now
Rob Landley [Sun, 11 Sep 2005 23:45:28 +0000 (23:45 -0000)]
Clean up memory allocation.
Rob Landley [Sun, 11 Sep 2005 01:16:47 +0000 (01:16 -0000)]
This combines a patch from Bernhard Fischer (moving the clean of
scripts/config from distclean to clean) with a sed consolidation that's
been in my tree for a bit, and switching the GPL boilerplate to just point
at LICENSE.
Rob Landley [Sun, 11 Sep 2005 01:05:30 +0000 (01:05 -0000)]
Cleanup patch by Bernhard Fischer, removing unnecessary includes of
getopt.h, whitespace changes, typos, etc.
Mike Frysinger [Sat, 10 Sep 2005 04:10:18 +0000 (04:10 -0000)]
use CONFIG_BUFFER macros like cow suggested and shrink code size some more by using less variables and more gotos ;)
Rob Landley [Sat, 10 Sep 2005 02:59:35 +0000 (02:59 -0000)]
Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.
Mike Frysinger [Sat, 10 Sep 2005 02:47:19 +0000 (02:47 -0000)]
some tweaks by cow to shrink a little
Rob Landley [Thu, 8 Sep 2005 11:50:48 +0000 (11:50 -0000)]
Put the menu_is_visible test back because it avoids printing spurious
(albeit commented out) garbage.
Manuel Novoa III [Thu, 8 Sep 2005 06:02:49 +0000 (06:02 -0000)]
Rob, I don't know why you feel some unexplainable compulsion to get rid of
a meaningless warning. But I do expect you preserve the coding style
and variable names when all you're doing is tweaking some of my code.
I repeat... do NOT change whitespace, variable names, or coding style in
any of my code simply to conform to your coding style.