3570915769
More dead code removal.
Rob Landley
2006-03-26 21:49:42 +00:00
4789694372
Robert P Day removed some commented out code.
Rob Landley
2006-03-26 21:42:40 +00:00
90ece609e6
Define both big endian and little endian macros.
Rob Landley
2006-03-25 03:01:59 +00:00
0bafd47e84
Stephane Billiart found an endianness bug in insmod.
Rob Landley
2006-03-25 02:49:28 +00:00
771b186406
- commentary typos
Bernhard Reutner-Fischer
2006-03-24 14:30:05 +00:00
2dd13bd25a
- make sure that we see freeramdisk only once
Bernhard Reutner-Fischer
2006-03-24 09:48:18 +00:00
d1968672ef
When cross-compiling, the install directory for shared libraries has to come from gcc (target machine), not uname (host machine).
Rob Landley
2006-03-24 02:42:58 +00:00
787140df39
remove in place of external link
Mike Frysinger
2006-03-23 23:44:29 +00:00
e0fe937593
- correct typo
Bernhard Reutner-Fischer
2006-03-23 16:52:59 +00:00
1bb31928d5
Bug spotted by Stephane Billiart: losetup depends on loop.c.
Rob Landley
2006-03-23 16:49:22 +00:00
fb3a631310
Very nice patch from Rich Felker to portably set the stream error indicator and thus remove a lot of nasty old code that didn't.
Rob Landley
2006-03-23 15:30:26 +00:00
dce5809ebc
make the makefile a little more flexible so we can store in either location
Mike Frysinger
2006-03-23 03:47:19 +00:00
5fba2505d4
News entry announcing 1.1.1.
Rob Landley
2006-03-23 03:08:09 +00:00
13c8327b79
sync busybox and udhcp trees
Mike Frysinger
2006-03-23 03:05:05 +00:00
e1d41b3102
fixup style
Mike Frysinger
2006-03-23 02:07:41 +00:00
948a09d6f2
dont printf arguments given by user for security sanity
Mike Frysinger
2006-03-23 02:07:20 +00:00
64bef2ab9c
fix typo
Mike Frysinger
2006-03-23 02:06:29 +00:00
ca8d0b029b
We make both busybox and busybox_unstripped all the time now, no need to specify whether or not to strip the binary.
Rob Landley
2006-03-22 21:03:21 +00:00
2dd4279959
Patch from Rogelio Serrano to defer checking whether the tty exists until we actually need to spawn something on it.
Rob Landley
2006-03-22 17:39:13 +00:00
2324a7c9e5
Fix "seq 1 1".
Rob Landley
2006-03-22 17:11:44 +00:00
a35886c862
Fix from Glenn McGrath.
Rob Landley
2006-03-22 16:59:12 +00:00
786988faf7
Tweak allbareconfig not to pause.
Rob Landley
2006-03-22 15:24:24 +00:00
7328c8fdc1
Annoint 1.1.1.
Rob Landley
2006-03-22 14:07:23 +00:00
cebea726e8
Another header suggestion from Shaun Jackman.
Rob Landley
2006-03-22 00:46:36 +00:00
06adf5fb47
2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of sys/signal.h.
Mike Frysinger
2006-03-22 00:25:07 +00:00
3ea05d3222
Fix missing copyright and license notice.
Rob Landley
2006-03-21 18:20:40 +00:00
d049812571
Patch from Stuart Hughes upgrading depmod.pl
Rob Landley
2006-03-21 16:35:50 +00:00
8dd4ca787a
Patch from Shaun Jackman to make loop.c build only when needed.
Rob Landley
2006-03-21 16:22:19 +00:00
6a776e9558
Temporarily disable shared library for the 1.1.1 release.
Rob Landley
2006-03-21 16:07:39 +00:00
e3f4ab2bc4
Remove unneeded entries.
Rob Landley
2006-03-20 18:40:07 +00:00
8caffaa9a9
Cleanup: remove double quotes that don't seem to be needed.
Rob Landley
2006-03-20 18:39:02 +00:00
9601a1c8c2
whitespace cleanup
Eric Andersen
2006-03-20 18:07:50 +00:00
19b5b8ff6a
Fix some obvious compile problems. Make the -f' fakeIt option actually work.
Eric Andersen
2006-03-20 18:07:13 +00:00
a6db0eef59
Willy Tarreau writes:
Eric Andersen
2006-03-20 17:50:08 +00:00
28a6afe975
Roy Walker writes:
Eric Andersen
2006-03-20 17:37:00 +00:00
c30f445b08
Patch from tito, acked by Bernhard Fischer.
Rob Landley
2006-03-20 02:20:18 +00:00
e2b428cbb1
Use lstat() instead of stat so /init being a symlink doesn't screw people up. (And use it consistently, for size reasons.)
Rob Landley
2006-03-20 01:43:29 +00:00
99a072d524
- tito writes: this patch fixes some comments in dos2unix that are wrong or that reports non existent features (that i've ripped out...)
Bernhard Reutner-Fischer
2006-03-18 23:05:37 +00:00
2523da259c
- explain what magic numbers we're using here.
Bernhard Reutner-Fischer
2006-03-18 23:02:45 +00:00
66753a3850
- whitespace cleanup (and also check against the const first and only then look at bb_applet_name[1])
Bernhard Reutner-Fischer
2006-03-18 15:59:29 +00:00
263e75d051
- fix order of includes.
Bernhard Reutner-Fischer
2006-03-18 11:59:55 +00:00
9aa7f2005d
declare const id argument const for probe_{ext2,ext3,cramfs}
Mike Frysinger
2006-03-18 04:17:59 +00:00
179f417788
need string.h as well as strings.h
Mike Frysinger
2006-03-18 04:13:32 +00:00
25f67d419d
need EXT2FS_OBJS for fsck
Mike Frysinger
2006-03-18 04:11:51 +00:00
6bc10635f8
Make the new chroot environment creation infrastructure more flexible about non-absolute paths.
Rob Landley
2006-03-18 03:01:57 +00:00
dcb2122e85
My mount testsuite. Not automatically run at the moment, need to figure out how to (optionally) supply User Mode Linux to runtests.
Rob Landley
2006-03-18 03:00:22 +00:00
eaa34ca5b4
More fixes. Type "auto" should mean unspecified from fstab as well as the command line, initialize singlemount's rc to an error value so it doesn't think it succeeded when it didn't, use absolute path when associating a loop device (and the previous FEATURE_CLEAN_UP logic related to that was freeing the wrong thing), move reading of /proc/filesystems to where we can re-read it (when it's empty) for every entry on a "mount -a" so that when /proc is mounted as the first entry, the later filesystems can autodetect filesystem type.
Rob Landley
2006-03-18 02:58:11 +00:00
aae8b3405e
Whitespace cleanup and minor tweak (return -ERRNO instead of ERRNO so EPERM doesn't register as a successful read-only mount.
Rob Landley
2006-03-18 02:38:10 +00:00
5a57821565
Bug fix: umount wasn't detaching loop devices unless mtab support was enabled. Made some whitespace cleanups while I was there.
Rob Landley
2006-03-17 03:30:05 +00:00
2824ded677
More test updates.
Rob Landley
2006-03-16 16:02:06 +00:00
4bb1b04fd1
Redo test suite to be able to test more than one command at a time. Eliminate $COMMAND environment variable, instead put full command line (including command to run) in second argument. Modify $PATH to have test versions of commands at start of path. (Also more infrastructure for testing as root, work in progress...)
Rob Landley
2006-03-16 15:20:45 +00:00
ea9a471acd
Random in-passing tweak.
Rob Landley
2006-03-16 14:40:27 +00:00
187e352b7f
Update for bug 14.
Rob Landley
2006-03-15 17:09:56 +00:00
330ac853e3
Tito shrank dos2unix.
Rob Landley
2006-03-14 21:49:18 +00:00
31642d75e1
More "extern" removals from Robert P. Day
Rob Landley
2006-03-14 21:45:38 +00:00
386f85eadf
Attempt to make a warning go away without increasing size.
Rob Landley
2006-03-14 21:13:48 +00:00
d221d2137f
Missed one.
Rob Landley
2006-03-14 20:06:44 +00:00
dc0955b603
The new, new mount rewrite. (Mount double prime?) Still being debugged, but the new infrastructure is reentrant so in theory it's capable of handling mount -a sanely. It can also re-use existing flags with remount, handle -t auto, mount -a -t, and several smaller bugfixes.
Rob Landley
2006-03-14 18:16:25 +00:00
0b22c1c962
Tito unified fdflush and freeramdisk. I tweaked the result a bit.
Rob Landley
2006-03-14 02:40:51 +00:00
2f135fc6bf
update comments as to what caused the defines to change
Mike Frysinger
2006-03-13 23:48:18 +00:00
ef7ccac9da
- add two comments
Bernhard Reutner-Fischer
2006-03-13 20:32:48 +00:00
a25d83b282
- remove superfluous dependency which was fixed in r14527
Bernhard Reutner-Fischer
2006-03-13 19:30:06 +00:00
df10094870
- revert back to r14406
Bernhard Reutner-Fischer
2006-03-13 19:04:00 +00:00
c5b1d4d6b1
Patch from Denis Vlasenko to add xstat() and use it.
Rob Landley
2006-03-13 15:45:16 +00:00
965030e35a
Update documentation.
Rob Landley
2006-03-13 04:38:40 +00:00
19808fea76
"make help" should not build the configurator first.
Rob Landley
2006-03-13 03:19:46 +00:00
9dc6913896
Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. do defconfig first), and group busybox administrative settings into a sub-menu.
Rob Landley
2006-03-13 02:52:23 +00:00
e01d746fe9
Cleanup patch from tito.
Rob Landley
2006-03-12 19:26:01 +00:00
1c60d9762e
Size reduction by Tito.
Rob Landley
2006-03-11 18:22:35 +00:00
9e094552c8
fix building with glibc-2.4
Mike Frysinger
2006-03-10 23:41:29 +00:00
c70240cc1d
add a sep option for stripping
Mike Frysinger
2006-03-10 23:20:48 +00:00
72d59dbd76
rearrange the menu a little to split general settings from applet selection
Mike Frysinger
2006-03-10 23:17:17 +00:00
ead19306f5
Cleanup patches from tito.
Rob Landley
2006-03-10 23:16:25 +00:00
bc68cd14cc
Patch from Denis Vlasenko turning static const int (which gets emitted into the busybox binary) into enums (which don't).
Rob Landley
2006-03-10 19:22:06 +00:00
dae6aa2859
Fixup to the previous (portability) patch. Linux actually does need arpa/inet.h rather than netinet/in.h, otherwise we get warnings.
Rob Landley
2006-03-09 22:39:08 +00:00
1f305dc0fd
Portability patch from rfelker. The bb_asprintf.c thing needs an eventual follow up in platform.h to set the #ifdef, but the workaround works for everybody, so...
Rob Landley
2006-03-09 22:21:20 +00:00
3a324754f8
I'm about to introduce tests that need to run as root (like mount.tests), meaning we want to run them in a chroot environment. To help with this, I worked out a utility function that makes it really easy to set up a chroot environment.
Rob Landley
2006-03-09 22:04:33 +00:00
31e3610c4b
Cleanup from Paul Fox. One find piped to xargs is faster/simpler than lots of finds doing individual -exec rm.
Rob Landley
2006-03-09 22:01:05 +00:00
ac664e07df
Mention a few web browsers.
Rob Landley
2006-03-09 18:20:43 +00:00
d48633fa6f
They won't stop asking, but we can point them to the specific entry...
Rob Landley
2006-03-09 18:03:21 +00:00
49a5599ae9
Patch from Denis Vlasenko to make unlzma smaller.
Rob Landley
2006-03-09 17:51:25 +00:00
478a188e85
- remove check. Fixes e.g. buildroot
Bernhard Reutner-Fischer
2006-03-09 16:49:46 +00:00
39a9fddb53
- fix typo
Bernhard Reutner-Fischer
2006-03-09 16:49:01 +00:00
07a79e75f5
- backout using features which are not available with the previous stable version of make (3.71.1).
Bernhard Reutner-Fischer
2006-03-09 09:03:37 +00:00
874af85d5e
import most of e2fsprogs 1.38 updates
Mike Frysinger
2006-03-08 07:03:27 +00:00
0f2dd9f4eb
vi-mode changes: eliminate warnings from out-of-range-for-type case labels that are emitted by gcc4. rearrange macros to eliminate these extra case labels entirely (since the optimizer may no longer do it for us). eliminate static BUFSIZ character deletion buffer -- malloc it, and make it much much smaller.
Paul Fox
2006-03-07 20:26:11 +00:00
dfba741457
Robert P. Day removed 8 gazillion occurrences of "extern" on function definitions. (That should only be on prototypes.)
Rob Landley
2006-03-06 20:47:33 +00:00
1f5e25bf3e
Walt Wimer noticed that mknod couldn't handle major or minor > 255. Now our limit checking autodetects what the system supports (at compile time).
Rob Landley
2006-03-06 19:31:39 +00:00
2e9cf373a9
- workaround bug in make-3.81beta4: - has to use /top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/file.c instead of the proper /top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/dir/file.c
Bernhard Reutner-Fischer
2006-03-06 14:20:43 +00:00
a59721166a
- work around missing features and bugs in make-3.79.1: - no order-only prerequisites; incomplete workaround (see comment in diff) - no internal variable MAKEFILE_LIST; workaround - define bar\nfoo:=<long-list> doesn't work; workaround also: - reinstate clean, distclean as noconfig_target. - unconditionally clean libbusybox.so*
Bernhard Reutner-Fischer
2006-03-06 14:19:15 +00:00
56ee779074
clean *.osm as pointed out by Robert P. J. Day
Mike Frysinger
2006-03-05 18:04:23 +00:00
33b45a09a1
clean busybox_unstripped as pointed out by Robert P. J. Day
Mike Frysinger
2006-03-05 16:25:19 +00:00
688ed0d760
Patch from Robert P. Day, moving byte order checks to use platform.h macros.
Rob Landley
2006-03-04 22:40:25 +00:00
d9969ea175
- correct comment. Should revisit gcc >= 4.1 with that =1 later on
Bernhard Reutner-Fischer
2006-03-03 20:31:33 +00:00
06ec8cff83
Typo fixes brought to you by the letters a, l, and Robert P. Day.
Rob Landley
2006-03-03 19:02:50 +00:00
cbd1c85744
Kill off some unused code that was wasting several k, as noticed by Denis Vlasenko when building with -ffunction-sections -fdata-sections
Eric Andersen
2006-03-03 18:37:39 +00:00
c05dda4b2d
Denis Vlasenko noticed that falign=0 is meaningless, and that should probably be falign=1. Saves a little over 3k on an x86 "make defconfig" build.
Rob Landley
2006-03-03 17:57:50 +00:00
7ad83b4e2c
- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects. landley, that one broke your tar-testing (see below).
Bernhard Reutner-Fischer
2006-03-03 14:19:15 +00:00