bfd94c4331
Whitespace patch (and removal of gratuitous use of cat) by Berhnard Fischer.
Rob Landley
2005-09-15 18:33:30 +00:00
6a65d2f8cc
Amir Shalem observed that telnetd doesn't really require login, so forcing it is wrong.
Rob Landley
2005-09-15 18:22:43 +00:00
84b93f7ef1
Get rid of warnings, remove compat with older gnu uniq to truly conform to susv3, and cut size a bit.
Manuel Novoa III
2005-09-15 08:06:42 +00:00
86097b3f31
Bernhard Fischer: [busybox][patch][janitorial] correct typo in news.html and make site html compliant
Mike Frysinger
2005-09-15 01:37:36 +00:00
887a1ad57f
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.
Mike Frysinger
2005-09-15 01:32:48 +00:00
23f62fc6f3
split libbb: moved xregcomp separatelly for speed up recompile
"Vladimir N. Oleynik"
2005-09-14 16:59:11 +00:00
b4f3cff6f5
removed strange extern void xregcomp(... from some applets, but declared from libbb.h
"Vladimir N. Oleynik"
2005-09-14 16:22:50 +00:00
1e07f852e0
FEATURE->ENABLE_FEATURE loses one for 'top' applet
"Vladimir N. Oleynik"
2005-09-14 16:08:06 +00:00
2d2c868aab
Patch from Berhnard Fischer to keep duplicate objects out of the library.
Rob Landley
2005-09-14 15:41:18 +00:00
0c520e03b9
remove unrequired dependences
"Vladimir N. Oleynik"
2005-09-14 15:36:56 +00:00
570f655ee4
Cleanup patch from tito: migrate option parsing to the bb_ functions and fix types.
Rob Landley
2005-09-14 15:36:52 +00:00
b7285001c9
Cleanup patch from Tito.
Rob Landley
2005-09-14 15:28:15 +00:00
7573ac6edf
bb_mkdep version 2.0. speed up *2, remove problem of find e2fsprogs/uu*.h, spelling corrections by Bernhard Fischer
"Vladimir N. Oleynik"
2005-09-14 15:09:06 +00:00
2ee82723a8
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
2005-09-14 14:40:01 +00:00
1e51925684
Test full susv3 spec for uniq (except internationalization).
Rob Landley
2005-09-14 14:36:40 +00:00
db485cf7bc
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...
Paul Fox
2005-09-14 14:08:38 +00:00
bc48ebd86a
initial ppc64 support
Mike Frysinger
2005-09-14 00:07:26 +00:00
f2de0b7ae4
allow either backspace or DEL, in addition to the user's erase char, to be used in get_input_line()
Paul Fox
2005-09-13 22:20:37 +00:00
676e95ea3d
bb_mkdep release. speed up *3, clearing, more comments
"Vladimir N. Oleynik"
2005-09-13 16:50:53 +00:00
6943a9489e
whitespace/syntax cleanups, dont mind me :p
Mike Frysinger
2005-09-13 02:29:39 +00:00
68071e46b1
touch up usage for swap utils
Mike Frysinger
2005-09-13 02:26:24 +00:00
bc3d4a175f
Cleanup patch from Tito.
Rob Landley
2005-09-13 01:30:19 +00:00
5d38f5ba89
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
2005-09-12 21:42:48 +00:00
2c6b41812f
Kunihiko IMAI writes:
Eric Andersen
2005-09-12 19:16:11 +00:00
b1fe462116
bb_mkdep speed up * 10!
"Vladimir N. Oleynik"
2005-09-12 16:39:47 +00:00
5e60dc4a20
new my scripts/mm_mkdep, dependences work now
"Vladimir N. Oleynik"
2005-09-12 12:33:27 +00:00
ba50217281
Clean up memory allocation.
Rob Landley
2005-09-11 23:45:28 +00:00
a7e14db495
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
2005-09-11 01:16:47 +00:00
b7128c6236
Cleanup patch by Bernhard Fischer, removing unnecessary includes of getopt.h, whitespace changes, typos, etc.
Rob Landley
2005-09-11 01:05:30 +00:00
db289b258d
use CONFIG_BUFFER macros like cow suggested and shrink code size some more by using less variables and more gotos ;)
Mike Frysinger
2005-09-10 04:10:18 +00:00
98ea849623
Patch from Dirk Clemens so df doesn't run numbers together on drives >100gig.
Rob Landley
2005-09-10 02:59:35 +00:00
a80b290e30
some tweaks by cow to shrink a little
Mike Frysinger
2005-09-10 02:47:19 +00:00
6b00d0d3ca
Put the menu_is_visible test back because it avoids printing spurious (albeit commented out) garbage.
Rob Landley
2005-09-08 11:50:48 +00:00
415f6c9628
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.
Manuel Novoa III
2005-09-08 06:02:49 +00:00
ae32016fc9
A bit overdue...
Rob Landley
2005-09-08 03:48:47 +00:00
9f0e00fc61
Tito sent more size tweaks.
Rob Landley
2005-09-08 03:27:06 +00:00
230b411de8
Fix the warning by rewriting the function to be smaller and simpler.
Rob Landley
2005-09-08 03:22:09 +00:00
658d2cf986
Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP to ENABLE_FEATURE_CLEAN_UP.
Rob Landley
2005-09-08 03:11:58 +00:00
02eb934b0f
committing: Summary 0000242: ash: read -t broken this also implements -n and -s options to read. (they're configured together because most of their code is in common, and separating them seemed silly.
Paul Fox
2005-09-07 16:56:02 +00:00
a70aa86e25
Yeah, Linus is the original author of three of our apps, but A) he doesn't work at transmeta anymore so that email's bogus, B) hands up everybody who thinks emailing him about a problem in the busybox version of those apps would be productive?
Rob Landley
2005-09-07 07:12:19 +00:00
20a825aed8
Fix warnings.
Rob Landley
2005-09-07 07:04:56 +00:00
90ca6b2878
This code exists to compensate for ancient broken build environments which, as far as I can tell, are no longer relevant. Modern busybox refuses to build under libc5 (there's a specific test and #error for that), and I'm not sure building against 2.1 kernel headers on Alpha was ever relevant.
Rob Landley
2005-09-07 06:39:02 +00:00
14efdc58ce
Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.
Rob Landley
2005-09-07 04:18:36 +00:00
99f61719cb
Amir Shalem writes: this patch fix syscall names mix-up in libb/syscalls.c
Mike Frysinger
2005-09-06 21:53:21 +00:00
45a8ed89c6
- sync traceroute with Slackware-10.1 (support -FIl -g gw -i if -z pt now). - libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now
"Vladimir N. Oleynik"
2005-09-06 16:08:33 +00:00
1443487c92
typo, thanks, Bernhard Fischer
"Vladimir N. Oleynik"
2005-09-06 13:21:39 +00:00
1283a150ae
Whitespace-level changes. Replace s0,s1,e0,e1 with real variable names and clean up whitespace and curly brackets a bit. Resulting binary should be identical.
Rob Landley
2005-09-06 01:57:11 +00:00
9955c45907
get_terminal_width_height.c was in there twice.
Rob Landley
2005-09-05 18:42:18 +00:00
ecce943e25
Bernhard Fischer pointed out that CONFIG_FEATURE_MOUNT_FORCE no longer exists.
Rob Landley
2005-09-05 17:52:47 +00:00
f6acb660ea
Regarding 11330: when you fix a bug that the testsuite doesn't catch, add a test case to the test suite.
Rob Landley
2005-09-05 16:27:19 +00:00
d0c41a8519
destroy bug [0000381]
"Vladimir N. Oleynik"
2005-09-05 15:50:56 +00:00
f087480da1
destroy bug [0000404]
"Vladimir N. Oleynik"
2005-09-05 15:46:26 +00:00
a8c23aa795
- usage fresh bb_getopt_ulflags for ls -- very size reduce. - small indent corrections - remove unecessary malloc and free
"Vladimir N. Oleynik"
2005-09-05 15:06:57 +00:00
27421a1878
1) bb_opt_complementaly -> bb_opt_complementally 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
"Vladimir N. Oleynik"
2005-09-05 14:46:07 +00:00
bef14d7a87
1) sync with dash_0.5.2-7 2) but expand PS# as config option 3) correct kill error message again 4) remove show "line number" for interactive run (patch pending for dash)
"Vladimir N. Oleynik"
2005-09-05 13:25:11 +00:00
8f99104362
The previous commit left confdata writing out:
Rob Landley
2005-09-05 11:04:30 +00:00
d1fa5859d6
Now that "make sizes" is in, the faq should mention it...
Rob Landley
2005-09-05 10:25:51 +00:00
dbaf97e463
Fix the warnings, and fix the following two obvious segfaults: ./busybox getopt -n one -n two woot ./busybox getopt -o one -o two woot
Rob Landley
2005-09-05 06:16:53 +00:00
cc1669bcde
Actually returning ret might be good.
Rob Landley
2005-09-05 05:36:15 +00:00
8a7a678b03
Fixes so "make allnoconfig" works again.
Rob Landley
2005-09-05 04:13:33 +00:00
a1a1a9fa2c
Remove trailing crud from busybox.tests. (Sleep deprivation strikes again...)
Rob Landley
2005-09-04 11:13:10 +00:00
b766c39456
General cleanup of command line parsing to allow "busybox" to work as a prefix. (I.E. any argv[0] that starts with "busybox" winds up in busybox_main().)
Rob Landley
2005-09-04 11:10:37 +00:00
9754b91c16
touchup some grammar, formatting, and remove some outdated notes
Mike Frysinger
2005-09-02 23:06:30 +00:00
f46f1b4d8a
update the verbage describing what is needed for developer access
Eric Andersen
2005-09-02 14:10:47 +00:00
7f90ae436f
This goes along with the new testsuite code...
Rob Landley
2005-09-02 01:55:58 +00:00
1689075c99
Working on a new test harness. Moved the sort tests into it.
Rob Landley
2005-09-02 00:41:53 +00:00
babd3fbba6
Missing break was screwing up 'y//' command. Bug #248.
Rob Landley
2005-09-02 00:10:06 +00:00
92255d60b8
Fix for bug 383: attempting to "tar c /" would error out because stripping trailing / turns that into an empty string.
Rob Landley
2005-09-01 11:36:21 +00:00
828548ab56
According to bug #63, crond is unhappy with crontab lines that don't end in a newline, or lines that have trailing spaces.
Rob Landley
2005-09-01 10:23:57 +00:00
344ea471ef
Tracking system but #4: php needs the environment variable SCRIPT_FILENAME.
Rob Landley
2005-09-01 09:38:32 +00:00
f815469a76
Bernhard Fischer trimmed down dos2unix a bit.
Rob Landley
2005-09-01 03:11:19 +00:00
078bacf1e9
Patch -i support from Berhnard Fischer.
Rob Landley
2005-09-01 03:02:23 +00:00
e0537f6194
Bernhard Fischer suggested that get_terminal_width_height() should return the result of the ioctl so callers can tell if we have a tty. (0 means we have a tty, nonzero means the ioctl couldn't find size info and we fake 80x24. Really we should fake 80x25, but oh well...)
Rob Landley
2005-09-01 02:57:45 +00:00
37adefc670
Off by one error in max_leases sanity check. Bug 349, apparently.
Rob Landley
2005-09-01 02:43:39 +00:00
ac692b2cf7
Bernhard Fischer sent a patch to make "make sizes" work when building in another output directory.
Rob Landley
2005-09-01 02:40:21 +00:00
9139770764
Busybox should only multiplex based on argv[1] when it's called as "busybox". Otherwise if you build busybox without a given applet you get the wrong error message when you call it via a symlink to that applet.
Rob Landley
2005-09-01 00:02:56 +00:00
29ee76cb2b
Anand Avati hit an integer overflow problem in our unzip code.
Rob Landley
2005-08-31 22:03:15 +00:00
c8b8a2d0cf
Don't comment warnings, _FIX_ warnings. (And putting in #warnings about other warnings is just gross.)
Rob Landley
2005-08-30 20:26:17 +00:00
c3386a4304
Why have a separate CONFIG_INIT_SWAPON when we already have CONFIG_SWAPONOFF?
Rob Landley
2005-08-30 18:50:37 +00:00
7a8f6792f3
Bug system entry #1 says that when busybox doesn't have swapoff, init shouldn't call swapoff.
Rob Landley
2005-08-30 18:17:05 +00:00
9a643149de
Amir Shalem found some bugs in the new mount code; unknown options didn't get added to the list, and my assumption that nfsmount() actually called mount() was incorrect (and I coded it wrong anyway; I hate having to touch codepaths I can't personally test).
Rob Landley
2005-08-30 17:07:49 +00:00
cc8885f6f3
Dirk Clemens pointed out how easy it is to support bzip2 compression, since we shell out to an external program to handle gzip anyway...
Rob Landley
2005-08-30 03:40:03 +00:00
de55987667
point to busybox.net
Eric Andersen
2005-08-28 12:47:39 +00:00
d9f7165de1
Dumb little hack, "make sizes". Try it.
Rob Landley
2005-08-28 08:24:21 +00:00
ddddb94f05
make sure __NF_sysfs exists before trying to use it
Mike Frysinger
2005-08-27 18:19:01 +00:00
038b076e55
some portability fixes by rmh in Bug 395
Mike Frysinger
2005-08-27 18:18:06 +00:00
e1d9633e20
Bernhard Fischer submitted a couple of Makefile patches: - Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@'
Rob Landley
2005-08-24 00:41:52 +00:00
a937640bff
Remove something we did, not that I'm doing something, and add something we haven't done. Woo.
Rob Landley
2005-08-23 23:08:17 +00:00
f4c684a1ef
When compiling with FEATURE_MTAB_SUPPORT disabled, the call to erase_mtab() can never be made because useMtab is initialized to 0, and all the other assignments of that variable assign 0 to it. Any compiler that can perform simple constant propogation on local variables will optimize away if statements testing against that variable, thus the call to erase_mtab() will never be made.
Rob Landley
2005-08-23 20:03:17 +00:00
6417564eeb
Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.
Rob Landley
2005-08-22 15:57:50 +00:00
d00b3a5e94
Bernhard Fischer provided a mountpoint(1) applet. This is apparently something sysvinit provides, and which is used by the debian init scripts.
Rob Landley
2005-08-20 05:07:08 +00:00
fc3f048f8f
Announce busybox 1.01.
Rob Landley
2005-08-17 01:55:58 +00:00
b8d004631a
Tito (among others) writes: previous patch was wrong, please stop screwing things up
Mike Frysinger
2005-08-17 01:20:10 +00:00
4306bb13f6
When doing 'make release' nuke the .svn directories, not the CVS dirs (since they are no longer present)
Eric Andersen
2005-08-17 00:03:23 +00:00
6ebbc7414e
the () around isspace actually matters
Mike Frysinger
2005-08-16 05:39:07 +00:00
1eef0c4571
Bernhard Fischer says: use xmalloc() instead of malloc()
Mike Frysinger
2005-08-16 05:32:42 +00:00
71224980e1
Bernhard Fischer says: fix comment typo
Mike Frysinger
2005-08-16 05:27:51 +00:00
c8e2de6e1b
Bernhard Fischer writes: fix devfsd usage
Mike Frysinger
2005-08-15 22:13:21 +00:00
de5fd23f25
If we goto singlemount, do _not_ try to continue through the loop we jumped into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.)
Rob Landley
2005-08-14 19:26:14 +00:00