ade7f95bd1
Patch from Tito: Remove -v verbose -V version -q quiet flags Remove parse_opt_v2(); Rename parse_opt_v3() to parse_xfermode() Remove if_strcat() Rearrange code in dump_identity() to reduce size Modify some strings so that they could be optimized by the compiler Minor code clean up Remove unneeded #define <shm.h>
Rob Landley
2006-05-25 18:53:06 +00:00
6cd2250953
Remove a pointless #define.
Rob Landley
2006-05-25 18:31:11 +00:00
89a22ea5d9
make the testsuite a little less brittle: - 'function fn_name\n{' breaks on older FreeBSD default shells, so use the more widely supported 'fn_name () {'. This needs more fixing.. - test for integers ought to use the proper operators - test for strings ought to use quoting of the strings to be fair to strange implementations of test(1) - make sure not to ignore return-codes != 0 from commands; Some shells exit immediately on this (much like explicitely requesting set -e in e.g. bash)
Bernhard Reutner-Fischer
2006-05-25 13:24:02 +00:00
027ea1aeac
Two more issues pointed out by Bernhard.
Rob Landley
2006-05-24 17:58:00 +00:00
5fc467e758
Yann Morin spotted some leftover flotsam from halfway through the recent llist.c interface change that accidentally got checked in. My bad.
Rob Landley
2006-05-24 17:45:47 +00:00
fa6b5e62c2
It takes _talent_ to implement a version of nohup that does everything except the actual blocking of HUP.
Rob Landley
2006-05-23 00:28:06 +00:00
a81cec9192
- set x bit
Bernhard Reutner-Fischer
2006-05-21 22:06:59 +00:00
5cd1ccd995
Convert to a global struct, the way sed was. Now I have two, I can work out the infrastructure to merge global structs into a union...
Rob Landley
2006-05-21 18:33:27 +00:00
9ffd42317b
Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessary memset, collate variable declarations...
Rob Landley
2006-05-21 18:30:35 +00:00
c020f5f518
New version of nohup that's much smaller, less paranoid, consistent, vaguely portable, and licensed GPLv2 "or later".
Rob Landley
2006-05-21 18:28:13 +00:00
4148afe049
- fix wrong path to scripts/usage; It is in the builddir and not in the srcdir. - flag .depend as .NOTPARALLEL to workaround bug in make-3.80 and make-3.81 Some more details on the second workaround (i.e. kludge): make-3.80 silently fails, while make-3.81 is at least self-conscious enough to admit: include/usage_compressed.h: .config scripts/usage # Implicit rule search has not been done. # File does not exist. # File has not been updated. # Dependencies commands running (THIS IS A BUG). # commands to execute (from `/home/cow/src/bb2/Makefile', line 430): $(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@
Bernhard Reutner-Fischer
2006-05-21 15:05:49 +00:00
a1e130f122
- check for existing usage binary, so it get's more obvious that the toplevel Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)
Bernhard Reutner-Fischer
2006-05-21 10:45:01 +00:00
3c8c0690fd
- there is no _usage.h anymore, so don't rm it in distclean.
Bernhard Reutner-Fischer
2006-05-21 10:04:46 +00:00
30ead9a9b9
- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not set
Bernhard Reutner-Fischer
2006-05-21 09:02:12 +00:00
1a5eb46820
- there is no "sh". Use $(SHELL)
Bernhard Reutner-Fischer
2006-05-21 08:25:45 +00:00
ef21629a6b
- silence warning about no return in function returning non-void - put CONFIG_DEBUG_CROND_OPTION into config no changes in size when debugging is disabled.
Bernhard Reutner-Fischer
2006-05-20 14:14:05 +00:00
9b5a99ad21
Patch from Robert P. Day to remove #ifdefed out SLIP support code that we have no CONFIG option to enable, and which existing SLIP users don't seem to miss.
Rob Landley
2006-05-19 22:54:42 +00:00
206f75784b
Remove unused function parameter, from Garrett.
Rob Landley
2006-05-19 22:42:23 +00:00
19d42df206
Add diffutils and dhcp to list of packages we provide replacements for.
Rob Landley
2006-05-19 22:14:19 +00:00
35017fb4fc
- backout erroneously checked in snippet..
Bernhard Reutner-Fischer
2006-05-19 20:48:22 +00:00
df4cdaf341
First quick stab at organizing TODO under whose TODO item it is.
Rob Landley
2006-05-19 20:47:55 +00:00
80b8ff07ca
A pending item in my tree I might as well check in: I plan to migrate calloc() and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but only takes one argument (the size).
Rob Landley
2006-05-19 20:36:49 +00:00
b1629b1b2a
- remove emacs layout block as suggested by Robert P.J. Day - use shorter boilerplate while at it
Bernhard Reutner-Fischer
2006-05-19 19:29:19 +00:00
d8e87a09d1
- forgot to make busybox_unstripped depend on the applets in IMA mode.
Bernhard Reutner-Fischer
2006-05-19 18:37:34 +00:00
c7801c4634
- use shorter boilerplate.
Bernhard Reutner-Fischer
2006-05-19 18:35:03 +00:00
351c832d75
- redirect stdout of scripts/config/conf to /nil for allyesconfig, allnoconfig, defconfig, allbareconfig - fix invalid call to "make"; use $(MAKE) instead.
Bernhard Reutner-Fischer
2006-05-19 18:33:34 +00:00
a254065e63
- remove SIGIOT as suggested by landley.
Bernhard Reutner-Fischer
2006-05-19 17:54:05 +00:00
4ae2f511cf
Patch from tito to replace shared memory usage with mlock(), slightly tweaked by me.
Rob Landley
2006-05-19 17:24:26 +00:00
cf89c37d08
fix indenting in help output for ifconfig
Mike Frysinger
2006-05-19 16:14:31 +00:00
14b1d2930a
- typo s/allbaseconfig/allbareconfig/ I thought Robert Day pointed this out, but i cannot find the mail in the archives..
Bernhard Reutner-Fischer
2006-05-19 14:02:51 +00:00
0a8812bdc5
- replace _PATH_DEVNULL with bb_dev_null
Bernhard Reutner-Fischer
2006-05-19 13:12:21 +00:00
14aa06f29c
- do not use non-standard u_int. - do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker.
Bernhard Reutner-Fischer
2006-05-19 13:02:27 +00:00
e2922e42a0
- make it C89 compatible; Declarations in the middle of a function is of course fine in C99, but it really serves no purpose other than breaking compilation on C89 compilers. Thanks to Rich Felker for pointing this out.
Bernhard Reutner-Fischer
2006-05-19 12:48:56 +00:00
d7031a3301
- use uint32_t instead of __u32 Thanks to Rich Felker for pointing this out. (r15129 from trunk)
Bernhard Reutner-Fischer
2006-05-19 12:44:46 +00:00
38583fd6f2
- use uint32_t instead of __u32 Thanks to Rich Felker for pointing this out.
Bernhard Reutner-Fischer
2006-05-19 12:44:16 +00:00
4009ed91f7
- Rich Felker writes: SIGIOT is not defined in any standard i can find and it seems to be useless (alias for SIGABRT) on linux. i put it in #ifdef but it's probably best just to remove it and cut down the size a bit.
Bernhard Reutner-Fischer
2006-05-19 12:41:13 +00:00
6af4cd1a87
- Rich Felker writes: SIGIOT is not defined in any standard i can find and it seems to be useless (alias for SIGABRT) on linux. i put it in #ifdef but it's probably best just to remove it and cut down the size a bit.
Bernhard Reutner-Fischer
2006-05-19 12:40:26 +00:00
d9ed35c8b9
- remove superfluous legacy includes. This applet should be converted to use llist; __NEED_DLLIST
Bernhard Reutner-Fischer
2006-05-19 12:38:30 +00:00
0c4c053c9d
- include strings.h for str{,n}casecmp Thanks to Rich Felker for pointing this out.
Bernhard Reutner-Fischer
2006-05-19 12:30:46 +00:00
a2a647dfc1
- include strings.h Thanks to Rich Felker for pointing this out.
Bernhard Reutner-Fischer
2006-05-19 12:30:00 +00:00
ce4b564461
- fix invalid mode (r15122 from trunk)
Bernhard Reutner-Fischer
2006-05-19 12:23:07 +00:00
a85a63f6ee
- fix invalid mode
Bernhard Reutner-Fischer
2006-05-19 12:22:11 +00:00
e2e56c7c41
- single KERNEL_VERSION(a,b,c) macro in platform.h - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
Bernhard Reutner-Fischer
2006-05-19 11:54:02 +00:00
7107a2f38c
- cleanup memory if opening aliases failed and cleanup was requested. (r15107 from trunk)
Bernhard Reutner-Fischer
2006-05-19 11:25:30 +00:00
e3c150bc67
- cleanup memory if opening aliases failed and cleanup was requested.
Bernhard Reutner-Fischer
2006-05-19 11:24:28 +00:00
edc9e373d9
- set version to 1.1.4-pre0
Bernhard Reutner-Fischer
2006-05-19 11:05:57 +00:00
5cbe2519d8
- set version to 1.1.3
1_1_3
Bernhard Reutner-Fischer
2006-05-19 10:57:39 +00:00
1ee8b638cf
The gnu extension to have realpath() malloc its buffer when handed a NULL isn't implemented in uClibc, so we can't use it. (r15092 from trunk plus coding-style fix for the patch)
Bernhard Reutner-Fischer
2006-05-19 10:57:02 +00:00
0c4b9fdda1
Resync less.c with current svn to fix a segfault in searching. (revisions 14889, 14890, 14891, 14896, 14897, 14905, 14961 from trunk)
Bernhard Reutner-Fischer
2006-05-19 10:54:46 +00:00
4ab339129e
Patch to fix bug 868, and some related cleanup while I was in the area. A tab is now taken as the end of filename if it's there, but if it isn't (because the timestamp isn't there) we continue with the existing untruncated line as the filename. (r15025 from trunk plus coding-style fixes for the patch)
Bernhard Reutner-Fischer
2006-05-19 10:49:38 +00:00
1de534114f
Patch from Jason Schoon to make mount -a not abort on the first failure. (r15005 from trunk)
Bernhard Reutner-Fischer
2006-05-19 10:45:16 +00:00
0e37af831d
- make sure not to trip enless loops when using strlen in IMA mode. (r15000 from trunk plus preprocessor fixes plus repair of commit message)
Bernhard Reutner-Fischer
2006-05-19 10:43:32 +00:00
006955556f
Patch from Shaun Jackman:
Bernhard Reutner-Fischer
2006-05-19 10:15:47 +00:00
cc8e90d1fb
- passwd doesnt use salt with md5 passwords; bug #604 thanks taviso (r14930 from trunk)
Bernhard Reutner-Fischer
2006-05-19 10:13:09 +00:00
42c4259f68
Fluff out info on morris accounts.
Rob Landley
2006-05-18 21:53:51 +00:00
3afb070e6d
Avoid a memory leak pointed out by Lucas C. Villa Real.
Rob Landley
2006-05-18 20:41:43 +00:00
d2ccc2ba26
Typo fix.
Rob Landley
2006-05-17 21:04:53 +00:00
7723019c6b
Patch from Bernhard Fischer to remove some useless bits.
Rob Landley
2006-05-17 20:24:53 +00:00
c27c04c16e
Announce 1.1.3.
Rob Landley
2006-05-17 19:59:24 +00:00
81369a8b2f
Typo that hits big endian systems.
Rob Landley
2006-05-17 19:47:58 +00:00
5371a953ca
The gnu extension to have realpath() malloc its buffer when handed a NULL isn't implemented in uClibc, so we can't use it.
Rob Landley
2006-05-17 04:09:14 +00:00
2686d3bc38
Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to add ibs and obs support to dd, and made it configurable. I cleaned it up a bit further and moved conv= into the same config option.
Rob Landley
2006-05-16 16:52:12 +00:00
adde79883f
Largeish cleanup patch from Tito, mostly if statement therapy.
Rob Landley
2006-05-16 15:32:30 +00:00
34b5319d86
Make md5 calculation always go through an the buffer so that A) we don't handle packets out of sequence if some data goes through the buffer and some doesn't, B) it works on systems that can't handle aligned access, C) we just have one code path to worry about.
Rob Landley
2006-05-16 02:38:26 +00:00
d272dc7cb3
Remove some out of date bits.
Rob Landley
2006-05-15 21:02:36 +00:00
282a26b8ba
The one line fix to Bernhard Fischer's "profoundly".
Rob Landley
2006-05-15 18:38:11 +00:00
2f38f27b42
- patch from Robert P. J. Day to use filter instead of findstring.
Bernhard Reutner-Fischer
2006-05-15 10:04:50 +00:00
158ffd405e
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
Mike Frysinger
2006-05-13 02:34:25 +00:00
d9b6b844e5
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
Mike Frysinger
2006-05-13 02:33:41 +00:00
39440e520c
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
Mike Frysinger
2006-05-13 02:33:09 +00:00
2f4d91da75
fix whitespace
Mike Frysinger
2006-05-13 02:27:52 +00:00
47b1838957
Patch from Lucas C. Villa Real adding "source" as a synonym for the "." command.
Rob Landley
2006-05-12 20:44:16 +00:00
d7384296f6
implement -print0 for find
Paul Fox
2006-05-12 14:47:20 +00:00
f7897ec47b
Autodetect parts of a multipart file, from Robert P. Day's suggestion.
Rob Landley
2006-05-12 01:42:33 +00:00
525d74badb
Busybox is licensed under GPLv2 or later. Shipping another license with the project would confuse the issue.
Rob Landley
2006-05-11 21:19:22 +00:00
cc848ddbf8
Bug fix from Vladimir Oleynik, and suggestion I add my copyright notice to the file.
Rob Landley
2006-05-11 18:25:24 +00:00
0690d1591f
Tabs weren't lining up in the help text.
Rob Landley
2006-05-11 17:33:10 +00:00
ac4c92da3b
More about configuring busybox.
Rob Landley
2006-05-11 17:21:13 +00:00
9b70093714
Rename the devfs device names option so it doesn't bite people so often.
Rob Landley
2006-05-11 16:39:52 +00:00
2ad1e7ce44
Patch from Vladamir Oleynik, reducing memory consumption.
Rob Landley
2006-05-11 15:23:23 +00:00
983d751bc0
Remove reference to programming.html, update description of FAQ.
Rob Landley
2006-05-11 15:02:32 +00:00
b73d2bf4bf
Reorganize FAQ, update a few entries, and consolidate with programming.html.
Rob Landley
2006-05-11 15:00:32 +00:00
8d2cb8be3b
back out default implicit %.o rule for now
Mike Frysinger
2006-05-11 05:33:31 +00:00
d148a94a2a
move the dir related rules to the end so the E2FSPROGS_AR rule is the default
Mike Frysinger
2006-05-11 04:39:09 +00:00
be7c539b7a
dont use tabs people
Mike Frysinger
2006-05-11 04:37:25 +00:00
e135a5d746
fix no previous prototype warning
Mike Frysinger
2006-05-11 02:36:51 +00:00
b5547fb0b3
fix no previous prototype warning
Mike Frysinger
2006-05-11 02:35:55 +00:00
e92923862e
typecast bbig to kill format warnings
Mike Frysinger
2006-05-11 02:31:45 +00:00
49f6afc0a0
rename
Mike Frysinger
2006-05-11 02:10:13 +00:00
e3412d8331
remove files not related to busybox
Mike Frysinger
2006-05-11 02:09:39 +00:00
6143c0719b
add implicit rule for %.a to help debugging in subdirs
Mike Frysinger
2006-05-10 18:12:16 +00:00
094b9f7e1d
Shut up the warning "implicit declaration of strlen".
Rob Landley
2006-05-10 17:41:21 +00:00
06b00e8ba7
accept() takes a socklen_t, not an int
Mike Frysinger
2006-05-10 17:18:11 +00:00
d2c8fd6360
fix whitespace in comment example
Mike Frysinger
2006-05-10 17:17:09 +00:00
772a3467ba
some more useful debug info from Jason Holden
Mike Frysinger
2006-05-10 17:14:32 +00:00
673c9443ba
add a default .o rule for easier debug
Mike Frysinger
2006-05-10 17:12:12 +00:00
72c4d64d20
- add helptext for --retries
Bernhard Reutner-Fischer
2006-05-10 16:11:02 +00:00
62ec21d0cf
touchup whitespace/english a bit more
Mike Frysinger
2006-05-10 15:59:07 +00:00
731f81cbed
whitespace between if and (
Mike Frysinger
2006-05-10 15:23:12 +00:00
eba32f429b
- typo in error-message: s/algotithm/algorithm - whitespace cleanup
Bernhard Reutner-Fischer
2006-05-10 07:59:32 +00:00