platform/upstream/busybox.git
18 years agodestroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED
"Vladimir N. Oleynik" [Tue, 31 Jan 2006 11:16:40 +0000 (11:16 -0000)]
destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED

18 years ago- add and use ATTRIBUTE_ALIGNED(num_bytes)
Bernhard Reutner-Fischer [Tue, 31 Jan 2006 09:53:53 +0000 (09:53 -0000)]
- add and use ATTRIBUTE_ALIGNED(num_bytes)
- remove unused parameter pindex from fdisk.c, xbsd_initlabel()

18 years agochanged strange mix signed<->unsigned
"Vladimir N. Oleynik" [Tue, 31 Jan 2006 09:44:04 +0000 (09:44 -0000)]
changed strange mix signed<->unsigned

18 years agoprotect potential overflow for x86_64
"Vladimir N. Oleynik" [Tue, 31 Jan 2006 09:35:45 +0000 (09:35 -0000)]
protect potential overflow for x86_64

18 years agoquick analize signed->unsigned: protect overflow of map[char], getchar->EOF. Use...
"Vladimir N. Oleynik" [Tue, 31 Jan 2006 09:27:48 +0000 (09:27 -0000)]
quick analize signed->unsigned: protect overflow of map[char], getchar->EOF. Use ATTRIBUTE_UNUSE.

18 years ago- fix typo i introduced yesterday.
Bernhard Reutner-Fischer [Tue, 31 Jan 2006 08:17:13 +0000 (08:17 -0000)]
- fix typo i introduced yesterday.

18 years agoNot on libbusybox.so: it's GPL, no API barrier, no stability promise.
Rob Landley [Tue, 31 Jan 2006 03:45:26 +0000 (03:45 -0000)]
Not on libbusybox.so: it's GPL, no API barrier, no stability promise.

18 years agoTurn defconfig into what make allyesconfig is today. Turn allyesconfig
Rob Landley [Tue, 31 Jan 2006 02:42:50 +0000 (02:42 -0000)]
Turn defconfig into what make allyesconfig is today.  Turn allyesconfig
back into allyesconfig.  (Memo: apparently SELINUX doesn't compile anymore.)

Make defconfig shouldn't switch on libbusybox.so, but allyesconfig does.

18 years agohopefully the last of the annoying signed/unsigned and mixed type errors
Eric Andersen [Mon, 30 Jan 2006 23:09:20 +0000 (23:09 -0000)]
hopefully the last of the annoying signed/unsigned and mixed type errors

18 years agofix up yet more annoying signed/unsigned and mixed type errors
Eric Andersen [Mon, 30 Jan 2006 22:48:39 +0000 (22:48 -0000)]
fix up yet more annoying signed/unsigned and mixed type errors

18 years agomake certain we dereference the pointer as a time_t, esp on x86_64
Eric Andersen [Mon, 30 Jan 2006 22:33:31 +0000 (22:33 -0000)]
make certain we dereference the pointer as a time_t, esp on x86_64
where it might otherwise not be dereferenced as such by default

18 years agofix up annoying signed/unsigned and mixed type errors
Eric Andersen [Mon, 30 Jan 2006 22:30:41 +0000 (22:30 -0000)]
fix up annoying signed/unsigned and mixed type errors

18 years agoclean up yet more annoying signed/unsigned mismatches and fixup
Eric Andersen [Mon, 30 Jan 2006 19:48:23 +0000 (19:48 -0000)]
clean up yet more annoying signed/unsigned mismatches and fixup
yet more incorrect types

18 years agopassing around an int as a void* is a very bad idea
Eric Andersen [Mon, 30 Jan 2006 18:33:12 +0000 (18:33 -0000)]
passing around an int as a void* is a very bad idea

18 years agosort out yet more type issues
Eric Andersen [Mon, 30 Jan 2006 18:00:02 +0000 (18:00 -0000)]
sort out yet more type issues

18 years ago- very minor tweak: save 1 byte.
Bernhard Reutner-Fischer [Mon, 30 Jan 2006 17:41:06 +0000 (17:41 -0000)]
- very minor tweak: save 1 byte.
  statistics:
   text    data     bss     dec     hex filename
    867       0      12     879     36f fold.o.oorig.gcc-3.3
    843       0      12     855     357 fold.o.oorig.gcc-3.4
    780       0      12     792     318 fold.o.oorig.gcc-4.0
    761       0      12     773     305 fold.o.oorig.gcc-4.1-HEAD
    761       0      12     773     305 fold.o.oorig.gcc-4.2-HEAD
    866       0      12     878     36e fold.o.gcc-3.3
    842       0      12     854     356 fold.o.gcc-3.4
    779       0      12     791     317 fold.o.gcc-4.0
    760       0      12     772     304 fold.o.gcc-4.1-HEAD
    760       0      12     772     304 fold.o.gcc-4.2-HEAD

18 years agowith 2.4 kernel headers, lo_file_name is char, but with 2.6
Eric Andersen [Mon, 30 Jan 2006 17:30:22 +0000 (17:30 -0000)]
with 2.4 kernel headers, lo_file_name is char, but with 2.6
headers we get a u8 for lo_file_name, so always cast to (char *)
when treating it as such.

18 years agofixup a few types to prevent gcc (rightfully) whining about mixing
Eric Andersen [Mon, 30 Jan 2006 17:27:00 +0000 (17:27 -0000)]
fixup a few types to prevent gcc (rightfully) whining about mixing
signed and unsigned, unmatches pointer target types, etc

18 years ago- add some ATTRIBUTE_UNUSED.
Bernhard Reutner-Fischer [Mon, 30 Jan 2006 17:17:14 +0000 (17:17 -0000)]
- add some ATTRIBUTE_UNUSED.
- use shorter boilerplate while at it.

18 years ago- make linking against libcrypt optional by looking if pw_encrypt() or
Bernhard Reutner-Fischer [Mon, 30 Jan 2006 15:29:55 +0000 (15:29 -0000)]
- make linking against libcrypt optional by looking if pw_encrypt() or
  correct_password() is configured. Fixes allnoconfig pulling in -lcrypt.

18 years agoremoved warning "comparison between signed and unsigned".
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 14:02:06 +0000 (14:02 -0000)]
removed warning "comparison between signed and unsigned".

18 years agoremoved warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED...
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 13:58:34 +0000 (13:58 -0000)]
removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace

18 years agoremoved warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED...
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 13:51:50 +0000 (13:51 -0000)]
removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace

18 years agoremoved warning "comparison between signed and unsigned".
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 13:47:19 +0000 (13:47 -0000)]
removed warning "comparison between signed and unsigned".

18 years agoremoved warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED...
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 13:41:53 +0000 (13:41 -0000)]
removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. Whitespace

18 years agoremoved warning "comparison between signed and unsigned". Change very very old code...
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 13:36:03 +0000 (13:36 -0000)]
removed warning "comparison between signed and unsigned". Change very very old code: use int instead short

18 years agoremoved warning "comparison between signed and unsigned". Reduced size
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 12:23:46 +0000 (12:23 -0000)]
removed warning "comparison between signed and unsigned". Reduced size

18 years agosupport GNU suffixes for fancy mode: b(512), k(1024) and m(1024*1024)
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 11:15:11 +0000 (11:15 -0000)]
support GNU suffixes for fancy mode: b(512), k(1024) and m(1024*1024)

18 years agoremove outdated and do not corected comment. Use bb_xasprintf instead xmalloc+set...
"Vladimir N. Oleynik" [Mon, 30 Jan 2006 10:49:14 +0000 (10:49 -0000)]
remove outdated and do not corected comment. Use bb_xasprintf instead xmalloc+set+set+strcpy.

18 years agoRe-add initrd support, unify halt/reboot/poweroff, add -n and -f options.
Rob Landley [Mon, 30 Jan 2006 08:31:37 +0000 (08:31 -0000)]
Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.

18 years agoNote on SVN 13424: Don't mix "default y" and select of something earlier
Rob Landley [Mon, 30 Jan 2006 06:11:42 +0000 (06:11 -0000)]
Note on SVN 13424: Don't mix "default y" and select of something earlier
in the menu hierarchy or else make allnoconfig winds up leaving whatever the
select  points to as "y".  (In this case, "make allnoconfig" is leaving
CONFIG_TEST as "y".)

18 years agoMove SUSv2 obsolete feature disabling to debug menu, invert meaning of
Rob Landley [Mon, 30 Jan 2006 01:30:39 +0000 (01:30 -0000)]
Move SUSv2 obsolete feature disabling to debug menu, invert meaning of
symbol (switched on to remove now: test your apps to make sure they _don't_
do this, because as some point we should just yank it), fixup head/tail/fold.

Also tweak "make allyesconfig" so anything starting with CONFIG_DEBUG gets
left switched off.  Possibly other things we want to put in the debug menu?

18 years agoRemove foo.txt and reenable -funsigned-char now that ash is fixed.
Rob Landley [Mon, 30 Jan 2006 01:27:08 +0000 (01:27 -0000)]
Remove foo.txt and reenable -funsigned-char now that ash is fixed.

18 years agoRemind me to implement bb_fork_exec()...
Rob Landley [Sun, 29 Jan 2006 06:45:38 +0000 (06:45 -0000)]
Remind me to implement bb_fork_exec()...

18 years agoAdd explanations of encrypted passwords, and fork vs vfork.
Rob Landley [Sun, 29 Jan 2006 06:29:01 +0000 (06:29 -0000)]
Add explanations of encrypted passwords, and fork vs vfork.

18 years ago- add a macro to check for ld and as flags
Bernhard Reutner-Fischer [Fri, 27 Jan 2006 15:45:56 +0000 (15:45 -0000)]
- add a macro to check for ld and as flags
  Very unreliable as e.g the ld check will see the flags supported by each emulation, not just the active one.
  good enough for now..
  Fix would be to crate one or more dummy .c files and accually try if a flag
  works.

18 years agofor change previous log: close bug 186
"Vladimir N. Oleynik" [Thu, 26 Jan 2006 10:58:12 +0000 (10:58 -0000)]
for change previous log: close bug 186

18 years agoclose bug 190
"Vladimir N. Oleynik" [Thu, 26 Jan 2006 10:46:14 +0000 (10:46 -0000)]
close bug 190

18 years agouse LC_ALL, not LANG, for forcing C
Mike Frysinger [Wed, 25 Jan 2006 22:46:25 +0000 (22:46 -0000)]
use LC_ALL, not LANG, for forcing C

18 years agoC99 say: "char" declaration may be signed or unsigned default
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 17:53:04 +0000 (17:53 -0000)]
C99 say: "char" declaration may be signed or unsigned default

18 years agoadded support /prefix for IPV4 form IPV6 code. Close bug 461
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 16:17:58 +0000 (16:17 -0000)]
added support /prefix for IPV4 form IPV6 code. Close bug 461

18 years ago- Simplify the prereq and add more documentation.
Bernhard Reutner-Fischer [Wed, 25 Jan 2006 15:58:04 +0000 (15:58 -0000)]
- Simplify the prereq and add more documentation.
- Fix regex for allyesconfig.

18 years ago+#include <sys/socket.h>
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 14:40:24 +0000 (14:40 -0000)]
+#include <sys/socket.h>
remove unused 'int i' form main
whitespacing only

18 years agonew applet. Thanks Roberto A. Foglietta
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 14:19:11 +0000 (14:19 -0000)]
new applet. Thanks Roberto A. Foglietta

18 years agosupport 64 arith. Close bug 136
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 13:56:03 +0000 (13:56 -0000)]
support 64 arith. Close bug 136

18 years agoclose bug 638
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 13:21:08 +0000 (13:21 -0000)]
close bug 638

18 years agoAdd more bash-like dot-dirs cmdedit feature
"Vladimir N. Oleynik" [Wed, 25 Jan 2006 11:53:47 +0000 (11:53 -0000)]
Add more bash-like dot-dirs cmdedit feature
Close bug 648.
Restore my whitespace

18 years agoignore whitespace
Tim Riker [Wed, 25 Jan 2006 00:25:37 +0000 (00:25 -0000)]
ignore whitespace

18 years agoLANG=C should help
Tim Riker [Wed, 25 Jan 2006 00:17:47 +0000 (00:17 -0000)]
LANG=C should help

18 years agojust whitespace
Tim Riker [Wed, 25 Jan 2006 00:08:53 +0000 (00:08 -0000)]
just whitespace

18 years ago- correct flag for gcc-3.x
Bernhard Reutner-Fischer [Tue, 24 Jan 2006 18:25:51 +0000 (18:25 -0000)]
- correct flag for gcc-3.x

18 years ago- Turn off combine for allyesconfig and allbareconfig.
Bernhard Reutner-Fischer [Tue, 24 Jan 2006 18:15:20 +0000 (18:15 -0000)]
- Turn off combine for allyesconfig and allbareconfig.
  The user ought to explicitely request this.

18 years ago- readd config option for libbusybox and ima-mode which were accidentally
Bernhard Reutner-Fischer [Tue, 24 Jan 2006 16:14:14 +0000 (16:14 -0000)]
- readd config option for libbusybox and ima-mode which were accidentally
  dropped by landley in rev13542.

18 years agoclose bug 657
"Vladimir N. Oleynik" [Tue, 24 Jan 2006 12:02:27 +0000 (12:02 -0000)]
close bug 657

18 years agoOnce more, with fewer inappropriate semicolons.
Rob Landley [Tue, 24 Jan 2006 02:38:28 +0000 (02:38 -0000)]
Once more, with fewer inappropriate semicolons.

18 years agoKen McGuire's patch to make mke2fs and e2fsck work on big endian systems like
Rob Landley [Mon, 23 Jan 2006 21:38:06 +0000 (21:38 -0000)]
Ken McGuire's patch to make mke2fs and e2fsck work on big endian systems like
PPC, with an obligatory couple of swipes from me.

18 years agoTesting CONFIG_SORT_BIG to display the help for the big version of sort isn't
Rob Landley [Mon, 23 Jan 2006 21:10:38 +0000 (21:10 -0000)]
Testing CONFIG_SORT_BIG to display the help for the big version of sort isn't
much use when the symbol is CONFIG_FEATURE_SORT_BIG.

18 years agoash with -funsigned-char don`t work!
"Vladimir N. Oleynik" [Mon, 23 Jan 2006 13:47:36 +0000 (13:47 -0000)]
ash with -funsigned-char don`t work!

18 years agoOops, restore tabs
"Vladimir N. Oleynik" [Mon, 23 Jan 2006 11:39:05 +0000 (11:39 -0000)]
Oops, restore tabs

18 years agocleanup (dist)clean logic
"Vladimir N. Oleynik" [Mon, 23 Jan 2006 11:24:58 +0000 (11:24 -0000)]
cleanup (dist)clean logic

18 years agoClose bug 644: loop incrementing twice, skipping ever other device.
Rob Landley [Sun, 22 Jan 2006 23:17:18 +0000 (23:17 -0000)]
Close bug 644: loop incrementing twice, skipping ever other device.

18 years agoThere was a missing ! on strcmp (despite the fact it worked in my testing,
Rob Landley [Sun, 22 Jan 2006 23:14:16 +0000 (23:14 -0000)]
There was a missing ! on strcmp (despite the fact it worked in my testing,
I have no idea _how_), and a simpler fix for the extra \n problem.  I tested
this and it worked for me, for what that's worth...

18 years ago- add platform.h.
Bernhard Reutner-Fischer [Sun, 22 Jan 2006 22:55:11 +0000 (22:55 -0000)]
- add platform.h.
- use shorter boilerplate while at it.

18 years agoThe whole "init is sometimes pid 3" thing is silly. Init is pid 1, anything
Rob Landley [Sun, 22 Jan 2006 02:41:51 +0000 (02:41 -0000)]
The whole "init is sometimes pid 3" thing is silly.  Init is pid 1, anything
else is a kernel bug.  Both 2.4 and 2.6 should get this right now.  This
should fix the bug IraquiGeek is seeing (although killall still needs to
be fixed.)

18 years agoStart of developer documentation for busybox.
Rob Landley [Sun, 22 Jan 2006 01:44:29 +0000 (01:44 -0000)]
Start of developer documentation for busybox.

18 years agocompile on 2.96 for a while longer -- no floating declarations.
Paul Fox [Fri, 20 Jan 2006 21:48:06 +0000 (21:48 -0000)]
compile on 2.96 for a while longer -- no floating declarations.

18 years agoPatch from Aurelien Jacobs to add unlzma. (A new decompression type,
Rob Landley [Fri, 20 Jan 2006 18:28:50 +0000 (18:28 -0000)]
Patch from Aurelien Jacobs to add unlzma.  (A new decompression type,
see www.7-zip.org)

18 years agoZap sysdeps directory, moving Config.in and defconfig to top of tree.
Rob Landley [Fri, 20 Jan 2006 17:47:09 +0000 (17:47 -0000)]
Zap sysdeps directory, moving Config.in and defconfig to top of tree.
(Busybox should not be system dependent enough to have different default
configurations for different platforms.  We're not a kernel.)

18 years agoUpdate readme and install.sh usage message.
Rob Landley [Thu, 19 Jan 2006 21:22:37 +0000 (21:22 -0000)]
Update readme and install.sh usage message.

18 years ago- Document -m, -c, -s and provide a default shell for standalone build.
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 18:04:15 +0000 (18:04 -0000)]
- Document -m, -c, -s and provide a default shell for standalone build.
- Wrap overlong lines plus a few whitespace fixes.
- add GPL header.

18 years ago- missing bits of patch attached to bug #249 (constify).
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 14:51:17 +0000 (14:51 -0000)]
- missing bits of patch attached to bug #249 (constify).

18 years ago- need to have config MODULE in order to make tristate work..
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 14:45:16 +0000 (14:45 -0000)]
- need to have config MODULE in order to make tristate work..
  Thanks to Robert Schwebel for pointing this out. I must be blind..

18 years ago- cleanup Config.in. Use "select CONFIG_FOO" and add the corresponding
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 14:42:23 +0000 (14:42 -0000)]
- cleanup Config.in. Use "select CONFIG_FOO" and add the corresponding
"depends on CONFIG_BAR" instead of the if !CONFIG_FOO ...default y stanza.

18 years agorestore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir Dronnikov
"Vladimir N. Oleynik" [Thu, 19 Jan 2006 11:23:34 +0000 (11:23 -0000)]
restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir Dronnikov

18 years ago- bump version to 1.1.1 nonrelease series (let's say -pre0).
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 09:22:39 +0000 (09:22 -0000)]
- bump version to 1.1.1 nonrelease series (let's say -pre0).

18 years ago- remove debian/
Bernhard Reutner-Fischer [Tue, 17 Jan 2006 15:56:59 +0000 (15:56 -0000)]
- remove debian/

18 years ago- make CONFIG_MD5SUM_SIZE_VS_SPEED configurable via menuconfig.
Bernhard Reutner-Fischer [Tue, 17 Jan 2006 12:07:03 +0000 (12:07 -0000)]
- make CONFIG_MD5SUM_SIZE_VS_SPEED configurable via menuconfig.
- use shorter boilerplate.

18 years agosetgid and setuid have changes effective id too
"Vladimir N. Oleynik" [Sun, 15 Jan 2006 14:55:48 +0000 (14:55 -0000)]
setgid and setuid have changes effective id too

18 years agosync with dash_0.5.3-1
"Vladimir N. Oleynik" [Sun, 15 Jan 2006 14:21:01 +0000 (14:21 -0000)]
sync with dash_0.5.3-1

18 years ago- shared libbusybox.
Bernhard Reutner-Fischer [Sun, 15 Jan 2006 14:04:57 +0000 (14:04 -0000)]
- shared libbusybox.
- IMA compilation option (aka IPO, IPA,..)
Please holler if i broke something..

18 years agorestore erronyous 'cleanups' by Rob Sullivan and landley
"Vladimir N. Oleynik" [Sun, 15 Jan 2006 09:29:41 +0000 (09:29 -0000)]
restore erronyous 'cleanups' by Rob Sullivan and landley

18 years agoCleanup patch from Rob Sullivan.
Rob Landley [Sun, 15 Jan 2006 02:20:06 +0000 (02:20 -0000)]
Cleanup patch from Rob Sullivan.

18 years ago1.1.0 is out.
Rob Landley [Sat, 14 Jan 2006 07:43:22 +0000 (07:43 -0000)]
1.1.0 is out.

18 years agoadd find's "-mmin" option. configurable.
Paul Fox [Fri, 13 Jan 2006 21:05:41 +0000 (21:05 -0000)]
add find's "-mmin" option.  configurable.

18 years ago- revert last change for now..
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 18:11:59 +0000 (18:11 -0000)]
- revert last change for now..

18 years agothis applet needlessly big! TODO: bb_getopt_ulflags()
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 17:29:46 +0000 (17:29 -0000)]
this applet needlessly big!  TODO: bb_getopt_ulflags()
- use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number().

18 years ago- turn off "nc gaping hole" and devfsd in allbareconfig, the latter doesn't
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 16:25:03 +0000 (16:25 -0000)]
- turn off "nc gaping hole" and devfsd in allbareconfig, the latter doesn't
  use the FEATURE notation and noone will update it to use it.

18 years ago- correct definitions.
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 12:03:26 +0000 (12:03 -0000)]
- correct definitions.

18 years ago- Mention code-cleanup possibilities in TODO.
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 08:46:39 +0000 (08:46 -0000)]
- Mention code-cleanup possibilities in TODO.

18 years ago- shrink simple obscure stuff a tiny bit:
Bernhard Reutner-Fischer [Thu, 12 Jan 2006 15:38:12 +0000 (15:38 -0000)]
- shrink simple obscure stuff a tiny bit:
   text    data     bss     dec     hex filename
    789       0       0     789     315 obscure.o.oorig
    771       0       0     771     303 obscure.o
- replace bzero by memset while at it.

18 years ago- remove warning about redeclaration of __constant_htons
Bernhard Reutner-Fischer [Thu, 12 Jan 2006 13:15:49 +0000 (13:15 -0000)]
- remove warning about redeclaration of __constant_htons
- remove warning about format '%ld' expects type 'long int *', but argument #num
  has type 'long unsigned int *'

18 years ago- mark argument who of print_route as unused.
Bernhard Reutner-Fischer [Thu, 12 Jan 2006 12:08:46 +0000 (12:08 -0000)]
- mark argument who of print_route as unused.

18 years agoFrank Sorenson added hotplug support to mdev. (I tweaked it a bit. Need
Rob Landley [Thu, 12 Jan 2006 06:13:50 +0000 (06:13 -0000)]
Frank Sorenson added hotplug support to mdev.  (I tweaked it a bit.  Need
to come up with a test suite for all the stuff that requires root access.
Something involving User Mode Linux or QEMU, probably...)

18 years agoThe major:minor read from dev ends with \n, need to trim that.
Rob Landley [Thu, 12 Jan 2006 03:07:49 +0000 (03:07 -0000)]
The major:minor read from dev ends with \n, need to trim that.

18 years agoOk, ping needs a rewrite from the ground up. (This is not a busybox app.)
Rob Landley [Wed, 11 Jan 2006 03:44:11 +0000 (03:44 -0000)]
Ok, ping needs a rewrite from the ground up.  (This is not a busybox app.)
Fix bug 309, where ping -s 1 localhost would give an elapsed time 9 digits
long due to a stack overflow.  Apparently, iputils also does this.

18 years agoAnd lo, we hath reached Release Candidate 1. 1.1.0 should happen this week.
Rob Landley [Tue, 10 Jan 2006 19:48:53 +0000 (19:48 -0000)]
And lo, we hath reached Release Candidate 1.  1.1.0 should happen this week.

18 years agocan use TMPDIR if user's HOMEDIR do not found. Noticed by Bernhard
"Vladimir N. Oleynik" [Tue, 10 Jan 2006 12:35:43 +0000 (12:35 -0000)]
can use TMPDIR if user's HOMEDIR do not found. Noticed by Bernhard

18 years agoThe brain-dead FTP servers on Solaris don't support the size command.
Rob Landley [Tue, 10 Jan 2006 06:36:00 +0000 (06:36 -0000)]
The brain-dead FTP servers on Solaris don't support the size command.

18 years agoDon't return 0 when there's an error.
Rob Landley [Tue, 10 Jan 2006 06:19:56 +0000 (06:19 -0000)]
Don't return 0 when there's an error.

18 years agoWith -a, the jump to mount_it_now can skip the initialization of f, and
Rob Landley [Tue, 10 Jan 2006 05:30:28 +0000 (05:30 -0000)]
With -a, the jump to mount_it_now can skip the initialization of f, and
if we don't zero it after closing it we re-close a filehandle that isn't
open, and since this is a file _pointer_ it segfaults on a double free.

Yeah, subtle bug.  I need to break this out into separate functions if I can
figure out how to avoid making the code larger while doing so.  Part of
the general -a and -o remount work I need to do, but that's after 1.1.0...