70f7ef7be3
Nothing to see here. Move along.
Rob Landley
2005-12-13 08:21:33 +00:00
3858bf18d5
Minor fix: if(CONFIG) breaks the build when that CONFIG is disabled, it has to be if(ENABLE). (Make allbareconfig is a good testing thing.)
Rob Landley
2005-12-13 04:06:22 +00:00
e919096271
Patch from Yann E. Morin, something to do with bugs 276 and 272.
Rob Landley
2005-12-12 19:38:44 +00:00
126da9ec2d
- typo: s/sucess/success/g What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look..
Bernhard Reutner-Fischer
2005-12-12 11:20:39 +00:00
b7d5342003
- fix zcip for IMA compile mode. rename usage() to zcip_usage, make struct arp_packet static. This applet is not ISO C89 compatible due to the use of C99-style comments ("c++ comments).
Bernhard Reutner-Fischer
2005-12-12 10:21:35 +00:00
10fb2b71f3
Flush output to log promptly (bug 389).
Rob Landley
2005-12-12 07:04:59 +00:00
e422af6bcb
Flush input when prompting for a password (bug 373).
Rob Landley
2005-12-12 07:02:15 +00:00
a75c180e53
Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentally modifying permissions or ownership when twiddling symlinks.
Rob Landley
2005-12-12 06:58:53 +00:00
cdbae77823
printf() arguments shouldn't be passed straight from user supplied data. (Security thingy.)
Rob Landley
2005-12-12 06:49:33 +00:00
37310ea057
Change CONFIG_MODPROBE_MULTIPOLE_OPTIONS to CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS.
Rob Landley
2005-12-12 04:28:17 +00:00
762bb626c7
Patch from Yann E. Morin to reorganize module config options.
Rob Landley
2005-12-11 20:20:05 +00:00
999af20d3e
Make insmod quiet by default (patch from Yann E. Morin).
Rob Landley
2005-12-11 20:14:12 +00:00
9c32a15220
Yann E. Morin's update to modprobe usage.
Rob Landley
2005-12-11 20:12:24 +00:00
82327f4be4
Patch from Yann E. Morin to make rmmod report failure properly.
Rob Landley
2005-12-11 19:46:50 +00:00
0bd0257fe0
Add build options to control SuS compatability, allows numeric option handling to be disabled. Defaults to enabled, so no changes in default behaviour
Glenn L McGrath
2005-12-11 03:09:05 +00:00
d77b781c1f
- remove unused variable have_read_stdin - use FLAG_WIDTH
Bernhard Reutner-Fischer
2005-12-10 20:13:54 +00:00
377bdaff3b
avoid mixed declarations, to support older compilers just a little longer.
Paul Fox
2005-12-08 18:48:20 +00:00
cc59aae65f
Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares about matching up macro arguments even when the macro substitutes to nothing...
Rob Landley
2005-12-07 23:17:28 +00:00
07fffc5add
uClibc can't handle anonymous MAP_SHARED. Since we're treating it as read only data anyway, MAP_PRIVATE shouldn't make a major difference.
Rob Landley
2005-12-07 22:45:28 +00:00
02bab6869e
Tito is using broken kernel headers that pollute the namespace with every CONFIG_ symbol in the kernel, and this clashes with busybox's CONFIG_TR and CONFIG_WATCHDOG, causing applets.h to barf if they're not switched on (since the broken headers don't affect kconfig or the makefiles).
Rob Landley
2005-12-06 22:48:29 +00:00
a62b0e7459
reduce 3 warning if compile with -W
"Vladimir N. Oleynik"
2005-12-06 12:20:57 +00:00
2f0a5f947a
restore compare_string_array new interface (make broken by landley)
"Vladimir N. Oleynik"
2005-12-06 12:00:39 +00:00
d4f15e95d6
Install links patch from Yann E. Morin. (Another thing hanging around in my tree forever. Tweaked the docs a bit.)
Rob Landley
2005-12-02 18:27:39 +00:00
d1569c215c
If we really _need_ an #ifdef like this, then we should be using the libbb getopt infrastructure instead.
Rob Landley
2005-12-02 17:57:23 +00:00
746cfc8bf0
Another cleanup patch that's been in my tree for a while. Again I think it's originally from Bernhard Fischer...
Rob Landley
2005-12-02 17:55:45 +00:00
b5ca9e0c4e
A cleanup patch I've had lying around in my tree for a while, I think it was from Bernhard Fischer?
Rob Landley
2005-12-02 17:54:01 +00:00
bf968f71f1
reduce signedness warning
"Vladimir N. Oleynik"
2005-12-02 10:10:28 +00:00
a972c870a8
reduce signedness warning
"Vladimir N. Oleynik"
2005-12-02 10:06:04 +00:00
27d42a08c8
remove warnings if compile with -W, use ENABLE_FEATURE vs CONFIG_FEATURE
"Vladimir N. Oleynik"
2005-12-02 09:46:04 +00:00
4a070d1460
Make char default to "unsigned" on all platforms so we have a consistent base to deal with all the new gcc 4.0.2 warnings from.
Rob Landley
2005-12-01 17:01:43 +00:00
1d589b2e2d
Fix losetup so that it A) actually works again, B) has much better error messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too.
Rob Landley
2005-11-29 23:47:10 +00:00
70678bc5b6
getopt -> getopt_ulflags. noticed by Rob Sullivan
"Vladimir N. Oleynik"
2005-11-29 12:32:33 +00:00
5a5d0fa044
update license
Mike Frysinger
2005-11-29 02:53:52 +00:00
004ad11337
ShaneAnderson writes in Bug 565: need to include .config file before setting CROSS otherwise TARGET_ARCH isnt set properly
Mike Frysinger
2005-11-29 02:52:25 +00:00
969af89797
add "-C" format to hexdump
Paul Fox
2005-11-28 21:06:00 +00:00
d957b9537e
fix bug #474: 0000474: vi crashes often
Paul Fox
2005-11-28 18:07:53 +00:00
5a16a89427
eliminate mixed declaration, to support older compilers a little longer.
Paul Fox
2005-11-28 16:29:45 +00:00
8c44f0179d
use libbb/get_kernel_revision(), reduce stack usage, add loses -w -f option for getopt, convert to bb_getopt_ulflags(), reduce memory usage - xmalloc to bb_common_bufsiz1, size reduce over 200 bytes
"Vladimir N. Oleynik"
2005-11-28 15:54:22 +00:00
52219874fe
Patch from Cristian Ionescu-Idbohrn to deal with _ vs - better.
Rob Landley
2005-11-27 19:01:53 +00:00
350865e339
remove bug: fsck do not know path
"Vladimir N. Oleynik"
2005-11-26 11:01:23 +00:00
cc34344d91
change the interface of libbb/compare_string_array (unsigned short to int), usaging for e2fsprogs/fsck
"Vladimir N. Oleynik"
2005-11-26 10:45:26 +00:00
61ff4b3973
more use const for interface of libbb/compare_string_array, example usage for e2fsprogs/fsck
"Vladimir N. Oleynik"
2005-11-26 10:33:55 +00:00
4eb2fd6826
more use libbb/bb_msg_read_error
"Vladimir N. Oleynik"
2005-11-25 11:36:36 +00:00
65bb10f253
reduce bss
"Vladimir N. Oleynik"
2005-11-24 12:10:13 +00:00
fe25715792
Update to modprobe usage from Yann E. Morin
Rob Landley
2005-11-23 04:55:02 +00:00
c819ca98ee
Can't store a pointer in an int on 64 bit platforms.
Rob Landley
2005-11-22 17:09:14 +00:00
b4c823211d
Move interface.c to networking directory since it's only used by ifconfig.
Rob Landley
2005-11-22 07:52:54 +00:00
fae1dc8620
Support # comments after s/// option list.
Rob Landley
2005-11-20 07:44:35 +00:00
4ee2eee2fc
Quote the user we pass to addgroup so funky chars are preserved. Fix by dragan_marinkovic in Bug 544
Mike Frysinger
2005-11-15 05:53:00 +00:00
79e1cab0d1
Yann Morin's modprobe multiple options patch. There's more work to be done, but let's ship 1.1 first...
Rob Landley
2005-11-15 00:08:29 +00:00
9033453c18
My last change to this file broke tar x. Sigh. (Trying to make sure we work on file sizes between 2 and 4 gigs on 32 bit machines. For supporting >4 gigs, just use a 64 bit machine already...)
Rob Landley
2005-11-12 11:04:11 +00:00
5412843e79
I noticed that "tar tvjf file.tbz" was segfaulting. This fixed it.
Rob Landley
2005-11-12 02:54:06 +00:00
64a5f96780
telnetd -b (bind to specific address) support from Iuri Gomes Diniz.
Rob Landley
2005-11-10 22:37:40 +00:00
990025a7d9
Ok, I've converted the contents of the "testing/sed" directory into a sed.tests file. My brain hurts now. (Lots of boggling at sed minutiae and corner cases and going "why is gnu giving that output". The behavior of N and n with regard to EOF are only understandable if you read the Open Group spec, not if you read the sed info page, by the way...)
Rob Landley
2005-11-10 06:26:40 +00:00
ecfd1f6a35
change osbolete sigpause() to sigsuspend()
"Vladimir N. Oleynik"
2005-11-09 09:19:29 +00:00
6f03722448
Patch from Tomasz Mateja: don't try to CWD to a _filename_, just send the full path to the STOR command.
Rob Landley
2005-11-08 00:52:31 +00:00
c98a359a16
It was a bit out of date.
Rob Landley
2005-11-07 09:06:34 +00:00
48c6157eb9
Fix the test suite so that individual *.tests files can be run ala COMMAND=sort ./sort.tests So we can compare against non-busybox versions, and possibly our testsuite will be useful to somebody like the Linux Test Project someday.
Rob Landley
2005-11-07 08:50:53 +00:00
7ad4b30ed4
Yann E. Morin pointed out that rpcsvc/nfs_prot.h isn't needed with any reasonably recent glibc, and breaks with uClibc. So yank it.
Rob Landley
2005-11-06 23:37:47 +00:00
7b7c99ca33
Size I zapped the bb_close() error, might as well make a TODO item.
Rob Landley
2005-11-04 20:45:54 +00:00
3fc4ad1478
Fix bug 424: doing full_read breaks things like cat which should return a chunk of data when they get it and not block until they've buffered 4k.
Rob Landley
2005-11-04 01:54:15 +00:00
21ccbb6c0e
When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.
Rob Landley
2005-11-04 01:20:46 +00:00
c2ce2c5b4b
It's no longer a temporary location. Smooth out the text a bit.
Rob Landley
2005-11-04 00:50:48 +00:00
fc94638330
point to the official links
Eric Andersen
2005-11-03 23:32:14 +00:00
3d283ddecd
Announce 1.1.0-pre1 already. Erik, please move links to the downloads directory once you've got the signed tarballs up.
Rob Landley
2005-11-03 22:11:00 +00:00
2f30932eca
Fix cp /dev/null filename, and a few in-passing cleanups.
Rob Landley
2005-11-01 21:55:14 +00:00
dbc608b568
We've got fuser, fix some typos, and move Vodz's comment about UTF8 into a new "internationalization" section, with some related concerns.
Rob Landley
2005-10-31 23:52:02 +00:00
c63fe9137f
\0 is a synonym for &. Our own "make allbaseconfig" breaks without this.
Rob Landley
2005-10-30 10:08:13 +00:00
7790cd5fad
add ZyXEL to the shame list
Mike Frysinger
2005-10-29 08:14:34 +00:00
d505e3ee67
fix <p> and <a> tags
Mike Frysinger
2005-10-29 08:03:54 +00:00
46b77c203e
update doctype and add a charset encoding
Mike Frysinger
2005-10-29 07:57:51 +00:00
62d7acc97e
- add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc. Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch.
Bernhard Reutner-Fischer
2005-10-28 20:37:03 +00:00
4922f2a06f
update
"Vladimir N. Oleynik"
2005-10-28 16:17:09 +00:00
7eb8e45348
Please don't use if(asprintf(&t)<0) free(t); Use concat_subpath_file() for scan dir. Added losed chdir(".."). Removed warnings for 64-bit inode size. Why use memcpy and do not let? Very strange code for me
"Vladimir N. Oleynik"
2005-10-28 16:08:47 +00:00
ea97282af1
bb_opt_complementally for rdate applet. Add losed record to util-linux/Makefile.in for switch_root applet
"Vladimir N. Oleynik"
2005-10-28 15:43:41 +00:00
aa87276bed
New applet, fuser, from Tony J. White. (Needs some cleanup.)
Rob Landley
2005-10-28 13:05:12 +00:00
30c7de068b
- move GETXXKEY_R_FUNC into an internal helper file to allow for compiling with IMA.
Bernhard Reutner-Fischer
2005-10-28 11:21:40 +00:00
6973abcfa8
- remove warning about "'static' is not at beginning of declaration".
Bernhard Reutner-Fischer
2005-10-28 09:45:07 +00:00
1b751c894b
Rob Sullivan sent in some cleanups, which I beat on slightly.
Rob Landley
2005-10-28 09:24:33 +00:00
0f34a821ab
Add a switch_root utility (like kconfig's utils/run_init.c, although not actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.)
Rob Landley
2005-10-27 22:55:50 +00:00
2454ebd85d
Somebody suggested this, but I've forgotten who.
Rob Landley
2005-10-27 22:50:04 +00:00
f3d6c94c7f
Add --no-same-owner and --no-same-permissions options to tar.
Rob Landley
2005-10-27 22:49:08 +00:00
47ea7b7f96
- Matthias Wenzel writes: without the fix below md5sum will always report a correct md5 on _any_ wrongly formattet input files. - use short boilerplate and remove superfluous keyword extern.
Bernhard Reutner-Fischer
2005-10-27 14:43:27 +00:00
ee9cf48620
- correct boilerplate - use bb_xgetlarg for the patch_level to catch invalid arguments.
Bernhard Reutner-Fischer
2005-10-27 06:59:05 +00:00
c9c959cc7c
Reference for new patch feature we'll need to be compatible with...
Rob Landley
2005-10-27 00:57:50 +00:00
ab1878245c
* uniq.c: remove unneeded include and use short boilerplate. * coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq and add boilerplate. * networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes and use short boilerplate. * libiproute/iproute.c: rename round to avoid clashes with older SuSE gcc and use short boilerplate.
Bernhard Reutner-Fischer
2005-10-26 10:47:26 +00:00
c58fd15db5
Update the TODO list to reflect stuff we've already done.
Rob Landley
2005-10-25 20:22:50 +00:00
3c6bfe3e33
Shaun Jackman noted that limits.h defines path_max and isn't included from find_root_device.c. (We #include it in busybox.h but not libbb.h, it seems. Someday, someone's going to have to clarify for me the difference between those two...)
Rob Landley
2005-10-25 02:22:13 +00:00
2d5d88ebc0
Two changes. One from Shaun Jackman makes libbb/interface.c compile only if it's going to be used. (I'm guessing it doesn't work with newlib.)
Rob Landley
2005-10-25 02:19:55 +00:00
38d6615ed2
- fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.
Bernhard Reutner-Fischer
2005-10-21 10:43:11 +00:00
1f0262bcdb
another more const
"Vladimir N. Oleynik"
2005-10-20 11:17:48 +00:00
0fa9deda17
more const
"Vladimir N. Oleynik"
2005-10-20 09:48:28 +00:00
5cf9a03b3f
more const, attribute_noreturn saved 200 bytes
"Vladimir N. Oleynik"
2005-10-19 09:21:51 +00:00
86ac072b44
more const, use bb_getopt_ulflags, insert XXX for show place of problems
"Vladimir N. Oleynik"
2005-10-17 10:47:19 +00:00
485d7cbdf1
data --> text
"Vladimir N. Oleynik"
2005-10-17 09:48:57 +00:00
a4d45d423f
The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859, which was apparently never tested. That meant that there always had to be at least one unparsed argument left over, which is not the case for tar.
Rob Landley
2005-10-16 08:42:18 +00:00
60fe7bfa41
Whitespace and curly bracket cleanup (our tabstop is 4 in busybox), and switch more stuff from CONFIG to ENABLE.
Rob Landley
2005-10-16 03:54:49 +00:00
7547a6e2f6
- don't update copyright years. He might release it, but apparently will have to update the year himself.
Bernhard Reutner-Fischer
2005-10-15 20:56:31 +00:00