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
88c0e01caf
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
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
c961a44e0b
more const, all data to text
"Vladimir N. Oleynik"
2005-10-15 14:41:08 +00:00
d3d829aaf0
20 bytes data to bss
"Vladimir N. Oleynik"
2005-10-15 14:24:01 +00:00
94c3331d47
- an empty middle term in ?: violates ISO C - use shorter boilerplate and use C89 style comments
Bernhard Reutner-Fischer
2005-10-15 14:13:09 +00:00
b4b6d26287
data --> code
"Vladimir N. Oleynik"
2005-10-15 14:10:36 +00:00
1f2dc40ede
data --> bss
"Vladimir N. Oleynik"
2005-10-15 13:56:17 +00:00
a2eec6051f
RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
"Vladimir N. Oleynik"
2005-10-15 13:45:32 +00:00
6f347ef9dc
common BUFSIZ BSS buffer, small reduce code, data and bss
"Vladimir N. Oleynik"
2005-10-15 10:23:55 +00:00
84e7511607
llist must initialize, add loses ifdef, small indent correction
"Vladimir N. Oleynik"
2005-10-15 06:32:38 +00:00
3ee6c24ea2
Add --exclude option (to make uClibc-0.9.28 headers install using busybox tar).
Rob Landley
2005-10-15 03:06:21 +00:00
f704b27b5b
- new bb_opt_complementally syntax, use [-:?] only - 'free' chars - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
"Vladimir N. Oleynik"
2005-10-14 09:56:52 +00:00
8c7a7e6e63
- split VERSION into parts - add some filesystem operation wrapper variables for use in the makefiles and pull them in early in the toplevel makefile - use the cross-toolchain for "make sizes"
Bernhard Reutner-Fischer
2005-10-13 10:40:18 +00:00
bb66a6c94e
- initialize the correct variables
Bernhard Reutner-Fischer
2005-10-13 10:24:44 +00:00
309dc2d642
- typo in makefile variable: s/archvial/archival/
Bernhard Reutner-Fischer
2005-10-13 10:19:35 +00:00
046d6e7a95
show_usage should use bb_default_error_retval.
Rob Landley
2005-10-12 21:50:02 +00:00
e4164b5666
Did you know the uclibc IRC channel has daily logs on the web going back to 2002?
Rob Landley
2005-10-12 19:10:34 +00:00
368f66492e
perror correction
"Vladimir N. Oleynik"
2005-10-12 16:45:21 +00:00
d20cfbd303
create e2fs_set_sbin_path(), noticed by Tito, Thanks
"Vladimir N. Oleynik"
2005-10-12 16:22:19 +00:00
6c35c7c976
usage bb_dev_null
"Vladimir N. Oleynik"
2005-10-12 15:34:25 +00:00
86a1073e0b
bb_dev_null
"Vladimir N. Oleynik"
2005-10-12 15:21:32 +00:00
f1ab127077
Prepend '-' to the first argument if required, more const, indent
"Vladimir N. Oleynik"
2005-10-12 08:34:27 +00:00
f588869696
new featured bb_opt_complementally, correct argc checking
"Vladimir N. Oleynik"
2005-10-12 08:17:29 +00:00
161aae7273
There doesn't seem to be a standard header for makedev(), but this is close.
Rob Landley
2005-10-11 20:17:30 +00:00
064f04e7e2
- use complementally '!' to '?' - 'ask' is best 'free' char for this. - more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
"Vladimir N. Oleynik"
2005-10-11 14:38:01 +00:00
ff567f7943
The check for EROFS was wrong. For example, if you try to mount a filesystem appended to an executable that's being run (yes, I'm doing this) you get EPERM, but mounting readonly fixes it. Doing the fallback all the time shouldn't hurt, and is one less test.
Rob Landley
2005-10-11 07:26:15 +00:00
554a9ff7ea
- do not use bb_xgetularg10_bnd as a lower value of -1 doesn't work due to lowe being unsigned. - minor correction: use stdin only when no file was given via -i. - use shorter boilerplate.
Bernhard Reutner-Fischer
2005-10-10 13:34:19 +00:00
54cb5c6af3
better check usage with options, correct show problem error message, indent
"Vladimir N. Oleynik"
2005-10-10 12:17:33 +00:00