oweals/busybox.git
22 years agovodz noted this line (as imported from Debian) is wrong, and has since
Eric Andersen [Wed, 24 Apr 2002 23:14:06 +0000 (23:14 -0000)]
vodz noted this line (as imported from Debian) is wrong, and has since
been fixed upstream.

22 years agoApply last_patch37 from vodz
Eric Andersen [Wed, 24 Apr 2002 23:08:23 +0000 (23:08 -0000)]
Apply last_patch37 from vodz

22 years agols could mis-color certain entries when previous commands
Eric Andersen [Wed, 17 Apr 2002 20:21:45 +0000 (20:21 -0000)]
ls could mis-color certain entries when previous commands
had failed.  Explicitly 0 out errno to prevent that.

22 years ago* networking/wget.c (wget_main): Check return value of safe_fwrite.
Matt Kraai [Wed, 17 Apr 2002 15:33:24 +0000 (15:33 -0000)]
* networking/wget.c (wget_main): Check return value of safe_fwrite.

22 years ago* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
Matt Kraai [Mon, 15 Apr 2002 15:01:37 +0000 (15:01 -0000)]
* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
  output.
* testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.

22 years agoPatch from Ben Low <ben@titr.uow.edu.au> to allow tftp to work
Eric Andersen [Mon, 15 Apr 2002 07:40:27 +0000 (07:40 -0000)]
Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to work
with stdin as well as stdout.

22 years agoPatch from Jim Treadway -- fix a missing "\" in usage.h
Eric Andersen [Sat, 13 Apr 2002 14:48:51 +0000 (14:48 -0000)]
Patch from Jim Treadway -- fix a missing "\" in usage.h

22 years agoSilly me
Eric Andersen [Sat, 13 Apr 2002 14:44:42 +0000 (14:44 -0000)]
Silly me

22 years agoTeach makedevs to not segfault quite so much
Eric Andersen [Sat, 13 Apr 2002 14:26:44 +0000 (14:26 -0000)]
Teach makedevs to not segfault quite so much

22 years agoPatch from Larry Doolittle to teach syslogd to not give up when errno is EINTR
Eric Andersen [Sat, 13 Apr 2002 14:07:32 +0000 (14:07 -0000)]
Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTR

22 years agoCleanup make clean
Eric Andersen [Sat, 13 Apr 2002 13:52:13 +0000 (13:52 -0000)]
Cleanup make clean

22 years agoPatch from Kevin Hilman <khilman@equator.com> to fix potential
Eric Andersen [Sat, 13 Apr 2002 13:47:39 +0000 (13:47 -0000)]
Patch from Kevin Hilman <khilman@equator.com> to fix potential
memory corruption from long pathnames in /etc/fstab.

22 years agoAdd a 'make uninstall' target
Eric Andersen [Sat, 13 Apr 2002 13:39:48 +0000 (13:39 -0000)]
Add a 'make uninstall' target

22 years agoPatch from Jim Treadway <jim@stardot-tech.com> to teach
Eric Andersen [Sat, 13 Apr 2002 13:32:30 +0000 (13:32 -0000)]
Patch from Jim Treadway <jim@stardot-tech.com> to teach
pidof to not add trailing spaces when not needed.

22 years agoPatch from Jim Treadway and Vladimir Oleynik to Add CTRL-K
Eric Andersen [Sat, 13 Apr 2002 13:26:49 +0000 (13:26 -0000)]
Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-K
and fix CTRL-L support for cmdedit.c

22 years agoSed can go into an infinite loop
Eric Andersen [Sat, 13 Apr 2002 13:18:15 +0000 (13:18 -0000)]
Sed can go into an infinite loop

22 years agoStupid gcc always includes its own builtin strlen()...
Eric Andersen [Sat, 13 Apr 2002 13:02:03 +0000 (13:02 -0000)]
Stupid gcc always includes its own builtin strlen()...

22 years agoNice patch from Wolfgang Denk <wd@denx.de> to provide hush with
Eric Andersen [Sat, 13 Apr 2002 12:33:41 +0000 (12:33 -0000)]
Nice patch from Wolfgang Denk <wd@denx.de> to provide hush with
shell loops (for, while, until) and control operators (||, &&)

22 years agoTeach tftp to direct the fetched file to stdout when the
Eric Andersen [Sat, 13 Apr 2002 09:30:25 +0000 (09:30 -0000)]
Teach tftp to direct the fetched file to stdout when the
user specifies "-l -"
 -Erik

22 years agoRework per how I did things in version in 0.60.3 so it can
Eric Andersen [Sat, 13 Apr 2002 09:10:34 +0000 (09:10 -0000)]
Rework per how I did things in version in 0.60.3 so it can
properly uncompress multiple files now.
 -Erik

22 years agoPatch from Laurence Anderson <L.D.Anderson@warwick.ac.uk> for
Eric Andersen [Sat, 13 Apr 2002 08:43:01 +0000 (08:43 -0000)]
Patch from Laurence Anderson <L.D.Anderson@warwick.ac.uk> for
better tape drive support in tar/cpio by using an intervening
pipe...

22 years agoUpdate some missing copyright notices
Eric Andersen [Sat, 13 Apr 2002 08:31:59 +0000 (08:31 -0000)]
Update some missing copyright notices

22 years agomake ash prompt the same as other shells if cmdedit and fancyprompt
Tim Riker [Sat, 13 Apr 2002 05:37:10 +0000 (05:37 -0000)]
make ash prompt the same as other shells if cmdedit and fancyprompt

22 years agoCompletely rework the config system so that it no longer annoys me to work on
Eric Andersen [Fri, 12 Apr 2002 12:05:57 +0000 (12:05 -0000)]
Completely rework the config system so that it no longer annoys me to work on
the busybox development tree.  This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too.  Greatly improved IMHO...
 -Erik

22 years agoFix handling of endianness.
Eric Andersen [Fri, 12 Apr 2002 00:28:59 +0000 (00:28 -0000)]
Fix handling of endianness.
 -Erik

22 years agoOldnews
Eric Andersen [Thu, 11 Apr 2002 20:40:00 +0000 (20:40 -0000)]
Oldnews

22 years agoPatch from Edward Betts <edward@debian.org> to add -x switch to du.c
Eric Andersen [Sat, 6 Apr 2002 23:16:44 +0000 (23:16 -0000)]
Patch from Edward Betts <edward@debian.org> to add -x switch to du.c

22 years agoApply lash_patch35 from vodz, which brings several nice size_optimizations.
Eric Andersen [Sat, 6 Apr 2002 05:17:57 +0000 (05:17 -0000)]
Apply lash_patch35 from vodz, which brings several nice size_optimizations.

22 years agoFix email addr
Eric Andersen [Sat, 6 Apr 2002 05:15:46 +0000 (05:15 -0000)]
Fix email addr

22 years agoAdd fli4l
Eric Andersen [Wed, 3 Apr 2002 14:30:58 +0000 (14:30 -0000)]
Add fli4l

22 years ago* editors/sed.c (process_file): Stop processing deleted lines.
Matt Kraai [Mon, 1 Apr 2002 16:17:37 +0000 (16:17 -0000)]
* editors/sed.c (process_file): Stop processing deleted lines.
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.

22 years agoTweak my credit (ah, vanity...)
Miles Bader [Mon, 1 Apr 2002 14:25:51 +0000 (14:25 -0000)]
Tweak my credit (ah, vanity...)

22 years agoAdd insmod support for the NEC v850e processor.
Miles Bader [Mon, 1 Apr 2002 09:37:27 +0000 (09:37 -0000)]
Add insmod support for the NEC v850e processor.

22 years agoAdd support for the NEC v850e processor.
Miles Bader [Mon, 1 Apr 2002 09:34:25 +0000 (09:34 -0000)]
Add support for the NEC v850e processor.

22 years agoProvide a controlling tty to askfirst processes as well
Eric Andersen [Fri, 29 Mar 2002 00:59:44 +0000 (00:59 -0000)]
Provide a controlling tty to askfirst processes as well
 -Erik

22 years ago* testsuite/which/which-uses-default-path: Remove extra echo.
Matt Kraai [Wed, 27 Mar 2002 23:19:17 +0000 (23:19 -0000)]
* testsuite/which/which-uses-default-path: Remove extra echo.

22 years ago* testsuite/grep/egrep-supports-extended-regexps: Check exit status instead
Matt Kraai [Wed, 27 Mar 2002 22:56:19 +0000 (22:56 -0000)]
* testsuite/grep/egrep-supports-extended-regexps: Check exit status instead
  of output.

22 years ago* testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags.
Matt Kraai [Wed, 27 Mar 2002 22:48:39 +0000 (22:48 -0000)]
* testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags.
* testsuite/gunzip/gunzip-reads-from-standard-input: Likewise.

22 years ago* testsuite/COPYING: Remove.
Matt Kraai [Wed, 27 Mar 2002 22:43:47 +0000 (22:43 -0000)]
* testsuite/COPYING: Remove.

22 years ago* archival/bunzip2.c (bunzip2_main): Remove compressed file.
Matt Kraai [Wed, 27 Mar 2002 17:46:44 +0000 (17:46 -0000)]
* archival/bunzip2.c (bunzip2_main): Remove compressed file.
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.

22 years ago* testsuite/runtest (run_applet_testcase): Return test case status, not
Matt Kraai [Wed, 27 Mar 2002 17:33:31 +0000 (17:33 -0000)]
* testsuite/runtest (run_applet_testcase): Return test case status, not
  process ID.

22 years ago* archival/bunzip2.c: Include <unistd.h>.
Matt Kraai [Wed, 27 Mar 2002 17:31:01 +0000 (17:31 -0000)]
* archival/bunzip2.c: Include <unistd.h>.
  (bunzip2_main): Read data from standard input if FILE argument is `-' or
  omitted.
* include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite.
* testsuite/bunzip2/bunzip2-reads-from-standard-input: New.

22 years agoWork around compiler/assembler problem and reduce code size at the same time.
Manuel Novoa III [Mon, 25 Mar 2002 02:37:20 +0000 (02:37 -0000)]
Work around compiler/assembler problem and reduce code size at the same time.

22 years ago* archival/gzip.c (gzip_main): Ensure that the output is a terminal and use
Matt Kraai [Fri, 22 Mar 2002 22:55:51 +0000 (22:55 -0000)]
* archival/gzip.c (gzip_main): Ensure that the output is a terminal and use
  error_msg to display the error message.

22 years agoDoh! I broke ping when removing the nested function.
Eric Andersen [Thu, 21 Mar 2002 14:04:43 +0000 (14:04 -0000)]
Doh!  I broke ping when removing the nested function.
This patch from vodz fixes it again.

22 years ago* include/applets.h (CONFIG_LOSETUP): New.
Matt Kraai [Wed, 20 Mar 2002 17:38:37 +0000 (17:38 -0000)]
* include/applets.h (CONFIG_LOSETUP): New.
* include/usage.h (losetup_trivial_usage, losetup_full_usage): New.
* util-linux/Makefile: Add losetup.o.
* util-linux/config.in: Add losetup prompt.
* util-linux/losetup.c: New.

22 years agoEliminate extra trailing space
Eric Andersen [Wed, 20 Mar 2002 16:10:54 +0000 (16:10 -0000)]
Eliminate extra trailing space

22 years agoFix devfs loop device support
Eric Andersen [Wed, 20 Mar 2002 15:25:25 +0000 (15:25 -0000)]
Fix devfs loop device support

22 years agoRewind messages to avoid weird formatting, and fix a bug with
Eric Andersen [Wed, 20 Mar 2002 14:57:50 +0000 (14:57 -0000)]
Rewind messages to avoid weird formatting, and fix a bug with
CONFIG_FEATURE_EXTRA_QUIET, which was broken

22 years agoPatch from vodz to fix a potential segfault
Eric Andersen [Wed, 20 Mar 2002 14:31:15 +0000 (14:31 -0000)]
Patch from vodz to fix a potential segfault

22 years agoPatch from Jeff Studer <jstuder@aquilagroup.com> to supply a defaults for
Eric Andersen [Wed, 20 Mar 2002 14:25:27 +0000 (14:25 -0000)]
Patch from Jeff Studer <jstuder@aquilagroup.com> to supply a defaults for
localfilename from remotefilename, and for remotefilename from localfilename
when the other one is not supplied.

22 years agoUpdate dmalloc options per suggestion from Glenn
Eric Andersen [Wed, 20 Mar 2002 14:16:31 +0000 (14:16 -0000)]
Update dmalloc options per suggestion from Glenn

22 years agoReinitialize initial shift register value for on each pass.
Eric Andersen [Wed, 20 Mar 2002 13:30:40 +0000 (13:30 -0000)]
Reinitialize initial shift register value for on each pass.
 -Erik

22 years agoCave to pressure (2 months later). Eliminate using a
Eric Andersen [Wed, 20 Mar 2002 11:59:28 +0000 (11:59 -0000)]
Cave to pressure (2 months later).  Eliminate using a
nested function, which is a purely unremovable gcc-ism...
 -Erik

22 years agoAdd missing " " after the word on, as reported by Jason Luther
Eric Andersen [Wed, 20 Mar 2002 09:52:45 +0000 (09:52 -0000)]
Add missing " " after the word on, as reported by Jason Luther
back in mid-december.
 -Erik

22 years agoPatch from J.W.Janssen <JanWillem.Janssen@lxtreme.nl> to provide
Eric Andersen [Wed, 20 Mar 2002 09:13:48 +0000 (09:13 -0000)]
Patch from J.W.Janssen <JanWillem.Janssen@lxtreme.nl> to provide
color ls support, modifed by me to behave properly when not running
output to a terminal (i.e. 'ls | more')
 -Erik

22 years agoBart Visscher noticed some spurious search and replace silliness
Eric Andersen [Wed, 20 Mar 2002 01:32:25 +0000 (01:32 -0000)]
Bart Visscher noticed some spurious search and replace silliness
 -Erik

22 years ago* testsuite/grep/egrep-is-not-case-insensitive: Require
Matt Kraai [Tue, 19 Mar 2002 23:47:49 +0000 (23:47 -0000)]
* testsuite/grep/egrep-is-not-case-insensitive: Require
  CONFIG_FEATURE_GREP_EGREP_ALIAS.

22 years ago* testsuite/grep/grep-handles-binary-files: Read input from a pipe.
Matt Kraai [Tue, 19 Mar 2002 23:46:16 +0000 (23:46 -0000)]
* testsuite/grep/grep-handles-binary-files: Read input from a pipe.
* testsuite/grep/grep-matches-NUL: Likewise.

22 years ago* networking/wget.c (parse_url): Allocate a string for the empty path.
Matt Kraai [Tue, 19 Mar 2002 15:22:42 +0000 (15:22 -0000)]
* networking/wget.c (parse_url): Allocate a string for the empty path.
* testsuite/wget/wget-handles-empty-path: New.

22 years agoThomas Lundquist
Matt Kraai [Mon, 18 Mar 2002 16:03:00 +0000 (16:03 -0000)]
Thomas Lundquist

* docs/new-applet-HOWTO.txt: Update for new directory structure.

22 years agoTry to pull in PATH_MAX properly
Eric Andersen [Sat, 16 Mar 2002 02:12:30 +0000 (02:12 -0000)]
Try to pull in PATH_MAX properly

22 years agoDon't mention ldconfig
Eric Andersen [Wed, 13 Mar 2002 17:26:39 +0000 (17:26 -0000)]
Don't mention ldconfig

22 years agoCleanup a libc5 compatibility hack
Eric Andersen [Tue, 12 Mar 2002 00:35:40 +0000 (00:35 -0000)]
Cleanup a libc5 compatibility hack

22 years agoFix broken link
Eric Andersen [Sun, 10 Mar 2002 22:01:51 +0000 (22:01 -0000)]
Fix broken link

22 years agolist_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.
Matt Kraai [Fri, 8 Mar 2002 16:25:33 +0000 (16:25 -0000)]
list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.

22 years ago* fileutils/ls.c (showfiles): Display multiple short names on a line.
Matt Kraai [Fri, 8 Mar 2002 16:16:38 +0000 (16:16 -0000)]
* fileutils/ls.c (showfiles): Display multiple short names on a line.

22 years agoUpdate
Eric Andersen [Wed, 6 Mar 2002 11:13:51 +0000 (11:13 -0000)]
Update

22 years agoUpdate webpage to note new mirrors
Eric Andersen [Wed, 6 Mar 2002 10:28:55 +0000 (10:28 -0000)]
Update webpage to note new mirrors

22 years agoNow that we are mirrored, remove absolute links
Eric Andersen [Tue, 5 Mar 2002 15:55:59 +0000 (15:55 -0000)]
Now that we are mirrored, remove absolute links

22 years agoUpdate init.c per my changes in the stable branch
Eric Andersen [Tue, 5 Mar 2002 15:12:19 +0000 (15:12 -0000)]
Update init.c per my changes in the stable branch
 -Erik

22 years agoUpdate robots.txt
Eric Andersen [Sat, 2 Mar 2002 16:43:30 +0000 (16:43 -0000)]
Update robots.txt

22 years agoA few more little cleanups to simplify mirroring
Eric Andersen [Sat, 2 Mar 2002 16:42:46 +0000 (16:42 -0000)]
A few more little cleanups to simplify mirroring

22 years agoUpdate the cvs commit info. Remove the old busybox.lineo.com stuff.
Eric Andersen [Sat, 2 Mar 2002 15:39:06 +0000 (15:39 -0000)]
Update the cvs commit info.  Remove the old busybox.lineo.com stuff.

22 years ago* libbb/xfuncs.c (xmalloc, xcalloc): Do not exit if a zero-length buffer is
Matt Kraai [Tue, 26 Feb 2002 15:28:22 +0000 (15:28 -0000)]
* libbb/xfuncs.c (xmalloc, xcalloc): Do not exit if a zero-length buffer is
  requested.
  (xrealloc): Simplify.

22 years ago* findutils/grep.c (grep_main): Remove unnecessary use of junk.
Matt Kraai [Fri, 22 Feb 2002 22:08:16 +0000 (22:08 -0000)]
* findutils/grep.c (grep_main): Remove unnecessary use of junk.

22 years ago* testsuite/runtest (show_result): Change UPASS to XPASS.
Matt Kraai [Tue, 19 Feb 2002 23:54:42 +0000 (23:54 -0000)]
* testsuite/runtest (show_result): Change UPASS to XPASS.
  (run_applet_testcase): Likewise.

22 years ago* testsuite/README: Change "UNSUPPORTED" tag to "FEATURE".
Matt Kraai [Tue, 19 Feb 2002 23:43:08 +0000 (23:43 -0000)]
* testsuite/README: Change "UNSUPPORTED" tag to "FEATURE".
* testsuite/runtest (run_applet_testcase): Likewise.
* testsuite/cp/cp-preserves-hard-links: Likewise.
* testsuite/grep/egrep-supports-extended-regexps: Likewise.
* testsuite/grep/grep-is-also-egrep: Likewise.
* testsuite/tar/tar-archives-multiple-files: Likewise.
* testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list:
  Likewise.
* testsuite/tar/tar-handles-exclude-and-extract-lists: Likewise.
* testsuite/tar/tar-handles-nested-exclude: Likewise.

22 years ago* testsuite/runtest (run_applet_testcase): Return UNTESTED instead of
Matt Kraai [Tue, 19 Feb 2002 23:38:08 +0000 (23:38 -0000)]
* testsuite/runtest (run_applet_testcase): Return UNTESTED instead of
  UNSUPPORTED for missing applets and features.

22 years ago* testsuite/README: Fill to 80 columns.
Matt Kraai [Tue, 19 Feb 2002 23:20:52 +0000 (23:20 -0000)]
* testsuite/README: Fill to 80 columns.

22 years ago* testsuite/README: Update copyright date.
Matt Kraai [Tue, 19 Feb 2002 23:19:46 +0000 (23:19 -0000)]
* testsuite/README: Update copyright date.

22 years ago* testsuite/tar/tar-archives-multiple-files: Require
Matt Kraai [Tue, 19 Feb 2002 23:15:41 +0000 (23:15 -0000)]
* testsuite/tar/tar-archives-multiple-files: Require
  CONFIG_FEATURE_TAR_CREATE.

22 years ago* docs/busybox.net/index.html (Products/Projects Using BusyBox): Added
Matt Kraai [Tue, 19 Feb 2002 22:58:26 +0000 (22:58 -0000)]
* docs/busybox.net/index.html (Products/Projects Using BusyBox): Added
  Tinfoil Hat Linux.

22 years agofix name
Eric Andersen [Sun, 17 Feb 2002 22:42:30 +0000 (22:42 -0000)]
fix name

22 years ago* testsuite/tar/tar-archives-multiple-files: New.
Matt Kraai [Sun, 17 Feb 2002 18:42:52 +0000 (18:42 -0000)]
* testsuite/tar/tar-archives-multiple-files: New.

22 years agoAdd in tuxscreen
Eric Andersen [Sat, 16 Feb 2002 22:17:33 +0000 (22:17 -0000)]
Add in tuxscreen

22 years agoUpdate sponsor section
Eric Andersen [Sat, 16 Feb 2002 22:08:28 +0000 (22:08 -0000)]
Update sponsor section

22 years agoAdd in a sponsors link, and update the screenshot.
Eric Andersen [Sat, 16 Feb 2002 21:50:34 +0000 (21:50 -0000)]
Add in a sponsors link, and update the screenshot.

22 years agoAdd Partition Image
Eric Andersen [Sat, 16 Feb 2002 18:48:55 +0000 (18:48 -0000)]
Add Partition Image

22 years agoParse the include list to writeTarFile rather than argv, fixes a bug where tar files...
Glenn L McGrath [Fri, 15 Feb 2002 05:15:03 +0000 (05:15 -0000)]
Parse the include list to writeTarFile rather than argv, fixes a bug where tar files wernt being created.

22 years agoFix condition that prevented creation of compressed files
Glenn L McGrath [Wed, 13 Feb 2002 03:32:11 +0000 (03:32 -0000)]
Fix condition that prevented creation of compressed files

22 years ago* archival/gzip.c (ifname, ofname): Delete.
Matt Kraai [Tue, 5 Feb 2002 22:31:48 +0000 (22:31 -0000)]
* archival/gzip.c (ifname, ofname): Delete.
  (gzip_main): Handle multiple files.
* include/usage.h (gzip_trivial_usage): Allow multiple FILEs.
  (gzip_full_usage): Ditto.
* testsuite/gzip/gzip-accepts-multiple-files: New.
* testsuite/gzip/gzip-removes-original-file: New.

22 years ago* archival/gzip.c (gzip_main): Display usage if given multiple files.
Matt Kraai [Tue, 5 Feb 2002 19:34:53 +0000 (19:34 -0000)]
* archival/gzip.c (gzip_main): Display usage if given multiple files.

22 years ago* include/usage.h (gzip_trivial_usage): Make FILE optional.
Matt Kraai [Tue, 5 Feb 2002 19:25:29 +0000 (19:25 -0000)]
* include/usage.h (gzip_trivial_usage): Make FILE optional.
  (gzip_full_usage): Note behavior when FILE is unspecified.

22 years ago* fileutils/dd.c (dd_main): Ignore ftruncate error if the output is not a
Matt Kraai [Tue, 5 Feb 2002 15:28:54 +0000 (15:28 -0000)]
* fileutils/dd.c (dd_main): Ignore ftruncate error if the output is not a
  file or directory.

22 years ago2002-01-30 Neal H Walfield <neal@cs.uml.edu>
Matt Kraai [Fri, 1 Feb 2002 16:54:00 +0000 (16:54 -0000)]
2002-01-30  Neal H Walfield  <neal@cs.uml.edu>

        * networking/ping.c (hostname): Removed.

        [CONFIG_FEATURE_FANCY_PING] (noresp): Moved from here . . .
        [CONFIG_FEATURE_FANCY_PING] (ping:noresp): . . . to here.
        Use H->h_name, not hostname.
        [CONFIG_FEATURE_FANCY_PING] (ping): Do not copy H->h_name into
        hostname.
        Use H->h_name directly.

        [!CONFIG_FEATURE_FANCY_PING] (hostent): New global variable.
        [!CONFIG_FEATURE_FANCY_PING] (pingstats): Use hostent in favor
        of the now obsolete hostname global variable.
        [!CONFIG_FEATURE_FANCY_PING] (ping): Likewise.
        No need to copy H; use hostent instead.

        [!CONFIG_FEATURE_FANCY_PING] (ntransmitted, nreceived,
        nrepeats, pingcount, myid, options, tmax, tsum): Removed
        superfluous zero initializers.

22 years agoIf PATH_MAX isn't defined, define it outselves
Eric Andersen [Sat, 26 Jan 2002 23:58:22 +0000 (23:58 -0000)]
If PATH_MAX isn't defined, define it outselves

22 years agoPatch from Russ Dill <Russ.Dill@asu.edu>. From the
Eric Andersen [Sat, 26 Jan 2002 09:04:45 +0000 (09:04 -0000)]
Patch from Russ Dill <Russ.Dill@asu.edu>.  From the
start-stop-daemon man page:

-b|--background
        Typically used with programs that don't detach on their own.
        This option will force start-stop-daemon to fork before starting
        the process, and force it into the background. WARNING:
        start-stop-daemon cannot check the exit status if the process
        fails to execute for any reason. This is a last resort, and is
        only meant for programs that either make no sense forking on
        their own, or where it's not feasible to add the code for it to
        do this itself.

This is usefull for applets like watchdog

22 years agoTeach 'init -q' that init's pid may not equal 1
Eric Andersen [Fri, 25 Jan 2002 23:13:06 +0000 (23:13 -0000)]
Teach 'init -q' that init's pid may not equal 1

22 years agoDo not segfault if PATH is unset.
Matt Kraai [Mon, 14 Jan 2002 18:30:10 +0000 (18:30 -0000)]
Do not segfault if PATH is unset.