843c5ef0f9
reorder include <sys/types.h> and <sys/types.h>.
"Vladimir N. Oleynik"
2005-09-29 07:55:51 +00:00
69d728be18
more const, inline, forward declaration usage, strip 20k source size ;-)
"Vladimir N. Oleynik"
2005-09-28 15:16:22 +00:00
747fc5d5fd
allow people to adjtime location
Mike Frysinger
2005-09-28 03:21:21 +00:00
3978e5576e
move e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size reduction
"Vladimir N. Oleynik"
2005-09-27 11:43:29 +00:00
16ce8aa412
fix building w/out et headers and w/out debug
Mike Frysinger
2005-09-27 04:21:48 +00:00
f87b3e30a7
as pointed out in Bug 17, use uint32_t instead of unsigned long since the code expects the size of the info variables to be 32bits and sizeof(long) on 64bit hosts is not 32bits
Mike Frysinger
2005-09-27 04:16:22 +00:00
67451849de
pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32)
Mike Frysinger
2005-09-27 04:06:39 +00:00
de2b93859c
eat misappropriated whitespace
Mike Frysinger
2005-09-27 03:18:00 +00:00
10a11e23ba
uncuddle function scope brackets
Mike Frysinger
2005-09-27 02:23:02 +00:00
d24eaac9e6
add "make help"
Rob Landley
2005-09-26 15:49:41 +00:00
7090800870
revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do not confuse me\!
"Vladimir N. Oleynik"
2005-09-26 13:55:43 +00:00
11d7c52912
correct set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic space->tabs convert by my personal editor
"Vladimir N. Oleynik"
2005-09-26 13:24:45 +00:00
5246063a7b
Patch from Amir Shalem to make busybox compile on a uClibc that has no shadow password support.
Rob Landley
2005-09-25 23:36:12 +00:00
95544f78cb
whitespace sucks
Mike Frysinger
2005-09-25 05:23:58 +00:00
7ad978045d
fix building with debugging enabled #413
Mike Frysinger
2005-09-25 05:18:04 +00:00
de242f6d5f
this should fix parallel building with .depend/bb_config.h
Mike Frysinger
2005-09-25 04:53:35 +00:00
1ff789c567
Stop gcc4 from nit-picking about signedness of char *.
Rob Landley
2005-09-25 03:12:26 +00:00
3978abd05b
Cristian Ionescu-Idbohrn writes to fix a warning: networking/ifconfig.c uses an uchar ptr to work with a char ptr so change the uchar to char
Mike Frysinger
2005-09-24 23:52:09 +00:00
b7f88e01a4
touchup argc/argv handling to shrink a bit and fix a segfault when given wrong number of parameters as noted and fixed by Cristian Ionescu-Idbohrn
Mike Frysinger
2005-09-24 23:48:18 +00:00
a630cb15b1
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:15:53 +00:00
7f8797c8ee
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:15:28 +00:00
f51d2069ff
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:14:11 +00:00
d1c8ae5dc9
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:13:22 +00:00
75aa1928ac
re-order a little for alphabetical
Mike Frysinger
2005-09-24 23:12:38 +00:00
16722554bf
Tito switched option parsing over to switch umount over to bb_getopt_ulflags().
Rob Landley
2005-09-24 22:41:08 +00:00
5423df9ebc
force nodebug by default
Mike Frysinger
2005-09-24 07:20:59 +00:00
62f18e1f20
use the shorter license header
Mike Frysinger
2005-09-24 07:16:29 +00:00
51a43b47fe
import the very fat e2fsck/fsck applets
Mike Frysinger
2005-09-24 07:11:16 +00:00
bfe773f471
make sure we include local header files
Mike Frysinger
2005-09-24 07:10:37 +00:00
016d6289a1
fix parallel building again
Mike Frysinger
2005-09-24 06:15:23 +00:00
0f8a63896e
err, fix stupid mistake in previous do_findfs() change
Mike Frysinger
2005-09-24 06:07:34 +00:00
0d65565210
add a attribute_noreturn macro
Mike Frysinger
2005-09-24 06:07:15 +00:00
0d4ee68be5
use brief license line
Mike Frysinger
2005-09-24 06:01:57 +00:00
97b43a7999
fix broken whitespace and remove pointless mkdir
Mike Frysinger
2005-09-24 05:58:39 +00:00
a1c6a57fea
make e2label and findfs optional
Mike Frysinger
2005-09-24 05:55:03 +00:00
9ac178ab40
rename menu and touchup whitespace
Mike Frysinger
2005-09-24 05:49:36 +00:00
ce0cf1d44b
make test an alias for check
Mike Frysinger
2005-09-24 05:47:52 +00:00
3f91d7a9f6
cleanup option parsing
Mike Frysinger
2005-09-24 00:52:58 +00:00
30b17863bd
- ifupdown needs run-parts. Thanks Derosnec for pointing this out.
Bernhard Reutner-Fischer
2005-09-23 19:37:13 +00:00
23bc647b35
- remove dangling symlinks after the runs - check if the temporary directory containing the links exists rather than unconditionally creating it for every single applet.
Bernhard Reutner-Fischer
2005-09-23 17:42:33 +00:00
380ad123ac
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.
Rob Landley
2005-09-23 16:52:09 +00:00
1eb645d8d7
- set executable bit
Bernhard Reutner-Fischer
2005-09-23 15:56:39 +00:00
b47a74f4e7
- 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
2005-09-23 15:44:46 +00:00
0a44c17771
- add missing descriptions of supported arguments
Bernhard Reutner-Fischer
2005-09-23 15:40:15 +00:00
aaf0e23330
- replace variables by defines to save space - rename string denoting stdin from "-" to "(standard input)" to match GNU grep.
Bernhard Reutner-Fischer
2005-09-23 15:38:49 +00:00
bf4497406f
SUSv3 -q compatibily exit status correction for grep again
"Vladimir N. Oleynik"
2005-09-23 13:50:24 +00:00
c96b703ab0
SUSv3 -q compatibily exit status correction for grep
"Vladimir N. Oleynik"
2005-09-23 13:44:03 +00:00
cf40d8175b
grep must have exit code >1 if input file not found. Small indent correcion also.
"Vladimir N. Oleynik"
2005-09-23 13:23:15 +00:00
b628409b1e
more make safe the exported namespace for udhcp. Move to bb-specific file for reduce change into udhcp-CVS
"Vladimir N. Oleynik"
2005-09-23 11:25:29 +00:00
53ad366fe7
remove 1 exported
"Vladimir N. Oleynik"
2005-09-23 10:44:02 +00:00
b6f71645f4
move a couple of functions from common code (options.c) to udhcpd private code (files.c) to make udhcpc a little smaller.
Paul Fox
2005-09-22 19:03:24 +00:00
28de951b02
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.
Paul Fox
2005-09-22 18:59:13 +00:00
2f9c30a2d5
safe exported namespace for udhcp. Not full, bore :-(
"Vladimir N. Oleynik"
2005-09-22 15:07:33 +00:00
ac9731704a
Reduce exported from msh applet
"Vladimir N. Oleynik"
2005-09-22 14:38:17 +00:00
264e771b8b
Reduce exported from lash applet
"Vladimir N. Oleynik"
2005-09-22 14:35:29 +00:00
19c370167a
Reduce exported from hush applet
"Vladimir N. Oleynik"
2005-09-22 14:33:15 +00:00
b8fa7e88f2
quick patch - have removed stranges for me
"Vladimir N. Oleynik"
2005-09-22 14:19:34 +00:00
1f0ac23c20
very small size reduce for nohup applet
"Vladimir N. Oleynik"
2005-09-22 13:26:23 +00:00
24cca8d958
Reduce exported from ipcs applet
"Vladimir N. Oleynik"
2005-09-22 13:13:23 +00:00
e4baaa2d27
more remove lost exported
"Vladimir N. Oleynik"
2005-09-22 12:59:26 +00:00
007a011647
network "default" --> bb_INET_default. Reduce 2 exported from find applet
"Vladimir N. Oleynik"
2005-09-22 11:11:11 +00:00
9d7010ca86
- add applet nohup(1)
Bernhard Reutner-Fischer
2005-09-21 18:25:05 +00:00
d4cffd1cc3
- make sure to include dmalloc.h at the very end of busybox.h or libbb.h.
Bernhard Reutner-Fischer
2005-09-21 17:38:30 +00:00
cef737f038
moved include/bbconfigopts.h from miscutils to to top Makefile before generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer
"Vladimir N. Oleynik"
2005-09-21 07:49:34 +00:00
c5280e8885
- consolidated password helpers
Bernhard Reutner-Fischer
2005-09-20 21:09:31 +00:00
f56b8e4b00
- consolidated password helpers into bb_pwd.c
Bernhard Reutner-Fischer
2005-09-20 21:08:10 +00:00
d5bd137a24
- 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
2005-09-20 21:06:17 +00:00
f912ebb740
- Remove unnecessary warning from libbb and move bb_wfopen_input near bb_wfopen
Bernhard Reutner-Fischer
2005-09-20 20:58:11 +00:00
6ab402ce27
- typo in documentation
Bernhard Reutner-Fischer
2005-09-20 20:32:02 +00:00
52d2f4bd90
Get "make check" ($srcdir) to work with the new testsuite.
Rob Landley
2005-09-20 18:19:34 +00:00
90252bb4c9
The testsuite/links directory wasn't being created.
Rob Landley
2005-09-20 14:09:57 +00:00
7fe6520e75
This is strange typically modern mistake. Learn please: stat(2) used sys/types.h and not reverse
"Vladimir N. Oleynik"
2005-09-20 10:02:36 +00:00
6d5aa4539a
Bernhard Fischer writes: Attachet patchlet updates the screenshot of busybox perusing the stable branch.
Mike Frysinger
2005-09-20 03:01:29 +00:00
8cbaa45030
remove duplicate depend, its work for bb_mkdepend
"Vladimir N. Oleynik"
2005-09-19 16:31:25 +00:00
bc37480e9c
1) read from stdin work now 2) destroy segfault in number_process 3) removes dead code
"Vladimir N. Oleynik"
2005-09-19 14:23:46 +00:00
b71e6024f9
mke2fs.c can compiled for me, more bb_xstrdup and bb_xasprintf usage, remove 1 exporing, ext2fs_llseek/blkid_llseek->llseek
"Vladimir N. Oleynik"
2005-09-19 13:48:39 +00:00
54deebf4e4
destroy bug #421
"Vladimir N. Oleynik"
2005-09-19 10:46:44 +00:00
a0ae6de848
quick patchs: drop founded memory leak, more libbb, more C-compatibility, size reduction
"Vladimir N. Oleynik"
2005-09-19 10:28:43 +00:00
4cbe45934e
small bug found after strength test
"Vladimir N. Oleynik"
2005-09-19 10:26:45 +00:00
9ed109429b
Bernhard Fischer writes: Attached patch moves bbconfig's entry in Config.in in the alphabetically correct place.
Mike Frysinger
2005-09-18 04:43:32 +00:00
d57ae8b796
First cleanup pass, from Rob Sullivan. More to be done...
Rob Landley
2005-09-18 00:58:49 +00:00
07e42dc056
Tito pointed out that if readlink doesn't have -f, there's no need to call the option parsing code at all.
Rob Landley
2005-09-17 11:13:25 +00:00
a882126fee
Update TODO with mention of the CONFIG->ENABLE migration and ruminations about FEATURE_CLEAN_UP.
Rob Landley
2005-09-16 14:58:55 +00:00
af0dd596a8
speed up +10%, update (c), make CONFIG_FEATURE_MOD2_4 as config/feature/mod_2_4
"Vladimir N. Oleynik"
2005-09-16 13:57:33 +00:00
8d3c40d492
more C-compatibily, Thanks Bernhard Fischer
"Vladimir N. Oleynik"
2005-09-16 13:16:01 +00:00
38013e394f
removed 'less' section from TODO
"Vladimir N. Oleynik"
2005-09-16 13:03:21 +00:00
f246dc7f57
ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
"Vladimir N. Oleynik"
2005-09-16 12:55:29 +00:00
c350485b18
initialize a couple of vars whose warnings were suppressed because i was building w/ debug on before, which suppresses optimization.
Paul Fox
2005-09-16 12:48:18 +00:00
2b306e906f
small change for highlihting flags, more busyboxes: indent, forward declaration, paste BSS
"Vladimir N. Oleynik"
2005-09-16 12:32:22 +00:00
8552aec7fd
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.
Paul Fox
2005-09-16 12:20:05 +00:00
2d5e4f6b05
accept unlimited number of swap arguments like the real swap{on,off} and shrink do_em_all a little
Mike Frysinger
2005-09-16 04:41:20 +00:00
0ec71bf4b8
update for newer build system
Mike Frysinger
2005-09-16 04:21:25 +00:00
9200e79d21
New applet "less", from Rob Sullivan.
Rob Landley
2005-09-15 19:26:59 +00:00