oweals/busybox.git
23 years agoClose but #1071...
Eric Andersen [Wed, 6 Dec 2000 23:17:37 +0000 (23:17 -0000)]
Close but #1071...

23 years agoIgnore the newdocs as well
Eric Andersen [Wed, 6 Dec 2000 23:12:43 +0000 (23:12 -0000)]
Ignore the newdocs as well

23 years agoPatch from Matt Kraai to fix 'echo "1 2 3" | tr -s " "'
Eric Andersen [Wed, 6 Dec 2000 22:53:06 +0000 (22:53 -0000)]
Patch from Matt Kraai to fix 'echo "1 2   3" | tr -s " "'
so it properly outputs "1 2 3".

23 years agopatch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
Eric Andersen [Wed, 6 Dec 2000 19:07:39 +0000 (19:07 -0000)]
patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN.

23 years agoAdded insmod support for ARM, and lsmod support for older kernels,
Eric Andersen [Wed, 6 Dec 2000 18:18:26 +0000 (18:18 -0000)]
Added insmod support for ARM, and lsmod support for older kernels,
thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and
Nicolas Ferre <nicolas.ferre@alcove.fr>.
 -Erik

23 years agoMust compile before committing.
Matt Kraai [Wed, 6 Dec 2000 15:56:31 +0000 (15:56 -0000)]
Must compile before committing.

23 years agoFix exit status on failure.
Matt Kraai [Wed, 6 Dec 2000 15:55:23 +0000 (15:55 -0000)]
Fix exit status on failure.

24 years agoRemoved isBlank and isWildCard macros that were totally unused (should anyone
Mark Whitley [Tue, 5 Dec 2000 20:42:48 +0000 (20:42 -0000)]
Removed isBlank and isWildCard macros that were totally unused (should anyone
need isBlank, please use isblank() in ctype.h). Converted isDecimal and
isOctal into inline functions. Compiled, tested, worked.

24 years agoChanged some #define strings to static const char [] variables. Tested ls
Mark Whitley [Tue, 5 Dec 2000 20:10:27 +0000 (20:10 -0000)]
Changed some #define strings to static const char [] variables. Tested ls
after changing, it worked.

24 years agoUse perrorMsg and clean up exit status.
Matt Kraai [Tue, 5 Dec 2000 20:07:27 +0000 (20:07 -0000)]
Use perrorMsg and clean up exit status.

24 years agoFixed the comments to match the code and renamed the function to a (hopefully)
Mark Whitley [Tue, 5 Dec 2000 20:03:17 +0000 (20:03 -0000)]
Fixed the comments to match the code and renamed the function to a (hopefully)
more descriptive name, and as per the style guide.

24 years agoApplied patch from Matt Kraai to add v*error functions for handling vararg
Mark Whitley [Tue, 5 Dec 2000 19:27:13 +0000 (19:27 -0000)]
Applied patch from Matt Kraai to add v*error functions for handling vararg
lists in a safe 'n sane fashion.

24 years agoUse perrorMsg instead of perror and keep removing files if we encounter
Matt Kraai [Tue, 5 Dec 2000 05:11:41 +0000 (05:11 -0000)]
Use perrorMsg instead of perror and keep removing files if we encounter
an error.

24 years agoChangelog update
Eric Andersen [Mon, 4 Dec 2000 23:52:19 +0000 (23:52 -0000)]
Changelog update

24 years agoFlag day warning!
Eric Andersen [Mon, 4 Dec 2000 20:31:45 +0000 (20:31 -0000)]
Flag day warning!
Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0.
 -Erik

24 years agoPatch to add in the -X option and fix the --exclude bug, originally by
Eric Andersen [Mon, 4 Dec 2000 18:51:09 +0000 (18:51 -0000)]
Patch to add in the -X option and fix the --exclude bug, originally by
Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin
<ab@netropol.de> and kent robotti <robotti@metconnect.com>.

24 years agoFix typo
Eric Andersen [Sat, 2 Dec 2000 06:32:14 +0000 (06:32 -0000)]
Fix typo

24 years agoPatch from Larry Doolittle so it will build the newdocs right.
Eric Andersen [Sat, 2 Dec 2000 00:44:48 +0000 (00:44 -0000)]
Patch from Larry Doolittle so it will build the newdocs right.

24 years agoUpdate for handling .udebs and building using a pristine source dir...
Eric Andersen [Fri, 1 Dec 2000 22:59:04 +0000 (22:59 -0000)]
Update for handling .udebs and building using a pristine source dir...

24 years agoMore doc handling updates
Eric Andersen [Fri, 1 Dec 2000 22:57:44 +0000 (22:57 -0000)]
More doc handling updates

24 years agoUpdate some descriptions
Eric Andersen [Fri, 1 Dec 2000 22:57:09 +0000 (22:57 -0000)]
Update some descriptions

24 years agoFix yet another blunder. Create symlink correctly this time.
Eric Andersen [Fri, 1 Dec 2000 20:26:30 +0000 (20:26 -0000)]
Fix yet another blunder.  Create symlink correctly this time.

24 years agoI forgot a "/". Oops.
Eric Andersen [Fri, 1 Dec 2000 20:02:10 +0000 (20:02 -0000)]
I forgot a "/".  Oops.

24 years agoMore pristine source directory updates. It now works
Eric Andersen [Fri, 1 Dec 2000 19:55:04 +0000 (19:55 -0000)]
More pristine source directory updates.  It now works
for me (including doing install).  How about you?
 -Erik

24 years agoMore updates for the Makefile to do BB_SRC_DIR. This is
Eric Andersen [Fri, 1 Dec 2000 19:40:18 +0000 (19:40 -0000)]
More updates for the Makefile to do BB_SRC_DIR.  This is
primarily a patch from Larry Doolittle, but with updates
from me to handle docs and link creation properly...

24 years agoMake tar shutup on compile
Eric Andersen [Fri, 1 Dec 2000 19:04:52 +0000 (19:04 -0000)]
Make tar shutup on compile

24 years agoRemove #ifdef __STDC__ junk. We don't do K&R round these parts,
Eric Andersen [Fri, 1 Dec 2000 19:02:24 +0000 (19:02 -0000)]
Remove #ifdef __STDC__ junk.  We don't do K&R round these parts,
so no point acting like we do.

24 years agoStop using TRUE and FALSE for exit status.
Matt Kraai [Fri, 1 Dec 2000 02:55:13 +0000 (02:55 -0000)]
Stop using TRUE and FALSE for exit status.

24 years agoApply some patches from Gennady Feldman <gfeldman@mail.com> to
Eric Andersen [Thu, 30 Nov 2000 22:43:16 +0000 (22:43 -0000)]
Apply some patches from Gennady Feldman <gfeldman@mail.com> to
. /etc/profile, and to emulate bash prompt.  I've cleaned up
his patches a bit and all looks good now...

24 years agoNote new dependency.
Matt Kraai [Thu, 30 Nov 2000 04:55:40 +0000 (04:55 -0000)]
Note new dependency.

24 years agoNote an error if we are unable to list/extract specified files.
Matt Kraai [Thu, 30 Nov 2000 04:44:54 +0000 (04:44 -0000)]
Note an error if we are unable to list/extract specified files.

24 years agoPatch from Larry Doolittle (with minor touchups from me so everything compiles
Eric Andersen [Thu, 30 Nov 2000 00:27:06 +0000 (00:27 -0000)]
Patch from Larry Doolittle (with minor touchups from me so everything compiles
and works) to use the applet definitions in applets.h to autogenerate the applet
function and usage prototypes.

24 years agoFix escape char problem.
Eric Andersen [Thu, 30 Nov 2000 00:03:57 +0000 (00:03 -0000)]
Fix escape char problem.

24 years agoAdd "\r" to utility.c:process_escape_sequence() (from email about
Eric Andersen [Wed, 29 Nov 2000 23:07:57 +0000 (23:07 -0000)]
Add "\r" to utility.c:process_escape_sequence() (from email about
"echo vs. optarg" from Larry Doolittle Tue, 28 Nov 2000 10:36:04 -0800)
 -Erik

24 years agoApply the BSD echo version submitted by Jonas Holmberg <jonas.holmberg@axis.com>
Eric Andersen [Wed, 29 Nov 2000 22:40:59 +0000 (22:40 -0000)]
Apply the BSD echo version submitted by Jonas Holmberg <jonas.holmberg@axis.com>

24 years agoApply rev #2 of dd fix from Gennady Feldman.
Eric Andersen [Wed, 29 Nov 2000 22:33:02 +0000 (22:33 -0000)]
Apply rev #2 of dd fix from Gennady Feldman.

24 years agoUpdate the changelog a bit
Eric Andersen [Wed, 29 Nov 2000 22:30:31 +0000 (22:30 -0000)]
Update the changelog a bit

24 years agoMoar Speling fickes frum Larry Doolittle
Eric Andersen [Wed, 29 Nov 2000 22:12:19 +0000 (22:12 -0000)]
Moar Speling fickes frum Larry Doolittle

24 years agoPatch form Larry Doolittle <ldoolitt@recycle.lbl.gov> (in collaboration
Eric Andersen [Wed, 29 Nov 2000 22:08:35 +0000 (22:08 -0000)]
Patch form Larry Doolittle <ldoolitt@recycle.lbl.gov> (in collaboration
with Matt Kraai <kraai@alumni.carnegiemellon.edu>) to allow for a
pristine source directory -- where all the .o files and such are
not placed into the source tree.  Thanks Larry!

24 years agoApply a patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to close
Eric Andersen [Wed, 29 Nov 2000 22:01:42 +0000 (22:01 -0000)]
Apply a patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to close
bug 1069.  This shaves about 100 bytes from the executable, and about
200 bytes of heap usage.  Also document the "-d" option in the usage
message.

24 years agoPatch from Matt Kraai to fix an infinate loop with ls -aR
Eric Andersen [Wed, 29 Nov 2000 21:52:06 +0000 (21:52 -0000)]
Patch from Matt Kraai to fix an infinate loop with ls -aR

24 years agoFinish commit of rpmunpack and add in scripts for undeb and unrpm
Eric Andersen [Wed, 29 Nov 2000 21:39:02 +0000 (21:39 -0000)]
Finish commit of rpmunpack and add in scripts for undeb and unrpm

24 years agoApply a patch fromkent robotti:
Eric Andersen [Wed, 29 Nov 2000 21:38:11 +0000 (21:38 -0000)]
Apply a patch fromkent robotti:

    Renamed unrpm to original rpmunpack, so you can use an included shell script
    called unrpm as a front end to it.

    There's also a shell script called undeb included for debian packages.

    Change undeb and unrpm scripts to work with the busybox tar and gunzip.

24 years agoRe-organized some sections and added a whole new section on avoiding the
Mark Whitley [Wed, 22 Nov 2000 19:25:39 +0000 (19:25 -0000)]
Re-organized some sections and added a whole new section on avoiding the
preprocessor. Comments welcome.

24 years agoFix behavior when removal fails.
Matt Kraai [Wed, 22 Nov 2000 01:09:38 +0000 (01:09 -0000)]
Fix behavior when removal fails.

24 years agoCheck for archive errors even for files we aren't extracting.
Matt Kraai [Sat, 18 Nov 2000 01:28:57 +0000 (01:28 -0000)]
Check for archive errors even for files we aren't extracting.

24 years agoFixed return status (thanks to David Douthitt for the fix).
Matt Kraai [Sat, 18 Nov 2000 01:16:43 +0000 (01:16 -0000)]
Fixed return status (thanks to David Douthitt for the fix).

24 years agoFixed user and group name listing.
Matt Kraai [Sat, 18 Nov 2000 01:08:24 +0000 (01:08 -0000)]
Fixed user and group name listing.

24 years agoAdded AdTran to the list of products using Busybox.
Mark Whitley [Fri, 17 Nov 2000 22:07:08 +0000 (22:07 -0000)]
Added AdTran to the list of products using Busybox.

24 years agoApplied patch from Brent Priddy <brent.priddy@adtran.com> to handle the
Mark Whitley [Fri, 17 Nov 2000 22:02:45 +0000 (22:02 -0000)]
Applied patch from Brent Priddy <brent.priddy@adtran.com> to handle the
special-case of using newlines as field delimiters.

24 years agoNumerous spelling / grammar corrections from Larry Doolittle
Mark Whitley [Fri, 17 Nov 2000 21:28:39 +0000 (21:28 -0000)]
Numerous spelling / grammar corrections from Larry Doolittle
<ldoolitt@recycle.lbl.gov>, as well as a few additions / clarifications.

24 years ago"I will always compile before I commit."
Eric Andersen [Fri, 17 Nov 2000 18:51:45 +0000 (18:51 -0000)]
"I will always compile before I commit."
"I will always compile before I commit."
"I will always compile before I commit."
 -Erik

24 years agoFix up builtin overrides, and hack in the binary search for finding
Eric Andersen [Fri, 17 Nov 2000 18:25:26 +0000 (18:25 -0000)]
Fix up builtin overrides, and hack in the binary search for finding
matching applets into the shell.

24 years agoModified help string for xargs. Props to Kent Robotti <robotti@metconnect.com>.
Mark Whitley [Fri, 17 Nov 2000 18:13:09 +0000 (18:13 -0000)]
Modified help string for xargs. Props to Kent Robotti <robotti@metconnect.com>.

24 years agoAdd in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN.
Eric Andersen [Fri, 17 Nov 2000 18:07:30 +0000 (18:07 -0000)]
Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN.
Make the sh default to using external commands when a path is provided.

24 years agoFix typo pointed out by Michael Renzmann <renzmann@gmx.de>
Eric Andersen [Fri, 17 Nov 2000 17:23:16 +0000 (17:23 -0000)]
Fix typo pointed out by Michael Renzmann <renzmann@gmx.de>

24 years agoAdd BB_CMP to xfopen
Eric Andersen [Fri, 17 Nov 2000 06:50:42 +0000 (06:50 -0000)]
Add BB_CMP to xfopen

24 years agoRemove the BSD advertising clause, and replace it with a link to how
Eric Andersen [Tue, 14 Nov 2000 23:29:24 +0000 (23:29 -0000)]
Remove the BSD advertising clause, and replace it with a link to how
the advertising clause has been retroactivly declared null and void.

24 years agoOops. I kant tipe.
Eric Andersen [Tue, 14 Nov 2000 22:57:46 +0000 (22:57 -0000)]
Oops.  I kant tipe.

24 years agoBrand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,
Mark Whitley [Tue, 14 Nov 2000 22:43:21 +0000 (22:43 -0000)]
Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,
Mr. Robotti...) Closes bug #1065.

24 years agoGrammer fix. Changed "longer then" to "longer than". Fix thanks to Jim
Eric Andersen [Tue, 14 Nov 2000 22:15:48 +0000 (22:15 -0000)]
Grammer fix.  Changed "longer then" to "longer than".  Fix thanks to Jim
Gleason <jimg@lineo.com>.

24 years agoPatch from Gennady Feldman <gfeldman@tradeline.net> to:
Eric Andersen [Tue, 14 Nov 2000 21:59:22 +0000 (21:59 -0000)]
Patch from Gennady Feldman <gfeldman@tradeline.net> to:
    1. Opens redirections w/ the right access.
    2. Doesn't do globbing for every single parameter (so it
doesn't stat every parameter).

24 years agoUlp. "expr" listed as a second "echo" (oops) -- thanks to David Douthitt
Eric Andersen [Tue, 14 Nov 2000 21:28:09 +0000 (21:28 -0000)]
Ulp.  "expr" listed as a second "echo" (oops) -- thanks to David Douthitt
for noticing....

24 years agoAdd in Zdisk
Eric Andersen [Tue, 14 Nov 2000 21:12:39 +0000 (21:12 -0000)]
Add in Zdisk

24 years agoRemove unneeded junk
Eric Andersen [Tue, 14 Nov 2000 20:31:45 +0000 (20:31 -0000)]
Remove unneeded junk

24 years agoMove flush_outbuf to the file in which it is used, and by doing so fix a
Matt Kraai [Wed, 8 Nov 2000 06:52:57 +0000 (06:52 -0000)]
Move flush_outbuf to the file in which it is used, and by doing so fix a
nasty error dealing with two different variables with the same name.

24 years agoFix some bugs reported by Jim Gleason <jimg@lineo.com> and others I
Matt Kraai [Wed, 8 Nov 2000 02:35:47 +0000 (02:35 -0000)]
Fix some bugs reported by Jim Gleason <jimg@lineo.com> and others I
introduced.

24 years agoCleanup of duplicated symbols -- found by compiling with
Eric Andersen [Tue, 7 Nov 2000 06:52:13 +0000 (06:52 -0000)]
Cleanup of duplicated symbols -- found by compiling with
LDFLAGS += -Wl,-warn-common

24 years agoRemoved REG_NEWLINE from regcomp to fix the same bug found in grep where it
Mark Whitley [Fri, 3 Nov 2000 20:23:49 +0000 (20:23 -0000)]
Removed REG_NEWLINE from regcomp to fix the same bug found in grep where it
would not match blank lines (bug #1064). Followed Matt Kraii's suit on his
1.42 revision of grep. Tested it, works.

24 years agoNow, what was that logic block doing up there?
Mark Whitley [Fri, 3 Nov 2000 20:02:35 +0000 (20:02 -0000)]
Now, what was that logic block doing up there?

24 years agoRe-worked the support for s///p, fixed a backref limit buglet, and cleaned up
Mark Whitley [Fri, 3 Nov 2000 19:47:00 +0000 (19:47 -0000)]
Re-worked the support for s///p, fixed a backref limit buglet, and cleaned up
a few other ugly places (do_subst_command got a much-needed overhaul). Also
took out BB_FEATURE_SED_PATTERN_SPACE from Config.h[.Hurd] as the 'p' is now a
standard feature (adds almost no bloat).

24 years agoWarning cleanup from Gennady Feldman
Eric Andersen [Thu, 2 Nov 2000 17:02:26 +0000 (17:02 -0000)]
Warning cleanup from Gennady Feldman
 -Erik

24 years agoFix uname problem that was breaking poweroff.
Eric Andersen [Mon, 30 Oct 2000 17:22:04 +0000 (17:22 -0000)]
Fix uname problem that was breaking poweroff.

24 years agoThis was redundant
Eric Andersen [Sun, 29 Oct 2000 07:02:47 +0000 (07:02 -0000)]
This was redundant

24 years agoMake fbset compile with the readmode feature by pulling defs from fb.h.
Matt Kraai [Sat, 28 Oct 2000 16:56:32 +0000 (16:56 -0000)]
Make fbset compile with the readmode feature by pulling defs from fb.h.

24 years agoMake features independent.
Matt Kraai [Sat, 28 Oct 2000 06:40:09 +0000 (06:40 -0000)]
Make features independent.

24 years agoWe also need to declare info if the USERNAMES feature is enabled.
Matt Kraai [Sat, 28 Oct 2000 01:21:22 +0000 (01:21 -0000)]
We also need to declare info if the USERNAMES feature is enabled.

24 years agoAdd in -lgcc to add needed symbold when linking vs uclibc.
Eric Andersen [Fri, 27 Oct 2000 18:26:18 +0000 (18:26 -0000)]
Add in -lgcc to add needed symbold when linking vs uclibc.

24 years agoOops. I never committed this. Update version to 0.48pre...
Eric Andersen [Fri, 27 Oct 2000 18:09:53 +0000 (18:09 -0000)]
Oops.  I never committed this.  Update version to 0.48pre...

24 years agoSilence a warning,
Eric Andersen [Thu, 26 Oct 2000 07:57:27 +0000 (07:57 -0000)]
Silence a warning,

24 years agoThis was broken when applets moved to applets.h. Fix it.
Eric Andersen [Thu, 26 Oct 2000 04:17:49 +0000 (04:17 -0000)]
This was broken when applets moved to applets.h.  Fix it.

24 years agoFixed error handling and TRUE/FALSE usage.
Matt Kraai [Wed, 25 Oct 2000 19:09:03 +0000 (19:09 -0000)]
Fixed error handling and TRUE/FALSE usage.

24 years agoRestore --help handling I mistakenly removed.
Matt Kraai [Wed, 25 Oct 2000 19:05:38 +0000 (19:05 -0000)]
Restore --help handling I mistakenly removed.

24 years agoAvoid reinventing the wheel (and thus save some space).
Matt Kraai [Wed, 25 Oct 2000 19:00:51 +0000 (19:00 -0000)]
Avoid reinventing the wheel (and thus save some space).

24 years agoAdded a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE
Matt Kraai [Wed, 25 Oct 2000 17:00:36 +0000 (17:00 -0000)]
Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE
uses, and other minor fixes.

24 years agoCleaned up error handling, TRUE/FALSE usage, and other minor issues.
Matt Kraai [Wed, 25 Oct 2000 16:48:15 +0000 (16:48 -0000)]
Cleaned up error handling, TRUE/FALSE usage, and other minor issues.

24 years agoClean up error handling and uses of TRUE/FALSE.
Matt Kraai [Wed, 25 Oct 2000 16:40:21 +0000 (16:40 -0000)]
Clean up error handling and uses of TRUE/FALSE.

24 years agoCleaned up error handling and uses of TRUE/FALSE.
Matt Kraai [Wed, 25 Oct 2000 16:38:00 +0000 (16:38 -0000)]
Cleaned up error handling and uses of TRUE/FALSE.

24 years agoCleaned up error message handling.
Matt Kraai [Wed, 25 Oct 2000 16:25:50 +0000 (16:25 -0000)]
Cleaned up error message handling.

24 years agoAdded a fatalPerror function to simplify error handling.
Matt Kraai [Wed, 25 Oct 2000 15:10:08 +0000 (15:10 -0000)]
Added a fatalPerror function to simplify error handling.

24 years agoFix for bug #1068 from Kent Robotti
Glenn L McGrath [Wed, 25 Oct 2000 03:31:15 +0000 (03:31 -0000)]
Fix for bug #1068 from Kent Robotti

Call perror and exit instead of fatalError

24 years agoApplied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary search
Mark Whitley [Wed, 25 Oct 2000 00:28:27 +0000 (00:28 -0000)]
Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary search
to locate applets, rather than a linear search. Also, broke out the listing of
applets into it's own file: applets.h.

24 years agoFix error messages.
Matt Kraai [Mon, 23 Oct 2000 18:03:46 +0000 (18:03 -0000)]
Fix error messages.

24 years agoFix error message.
Matt Kraai [Mon, 23 Oct 2000 17:55:27 +0000 (17:55 -0000)]
Fix error message.

24 years agoPut getopt_usage where it belongs and added *_usage entries in busybox.[ch]
Mark Whitley [Thu, 19 Oct 2000 22:28:06 +0000 (22:28 -0000)]
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]

24 years agoPiss people off by removing [+-][0-9]+ options from tail.
Matt Kraai [Thu, 19 Oct 2000 21:28:32 +0000 (21:28 -0000)]
Piss people off by removing [+-][0-9]+ options from tail.

24 years agoRemove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.
Matt Kraai [Mon, 16 Oct 2000 16:22:27 +0000 (16:22 -0000)]
Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.

24 years agoFix handling of ^$ by removing the newline from input lines and by not
Matt Kraai [Fri, 13 Oct 2000 18:55:06 +0000 (18:55 -0000)]
Fix handling of ^$ by removing the newline from input lines and by not
compiling with REG_NEWLINE.

24 years agoConsolidate stat(2) and lstat(2) calls and error handling.
Matt Kraai [Fri, 13 Oct 2000 18:03:21 +0000 (18:03 -0000)]
Consolidate stat(2) and lstat(2) calls and error handling.

24 years agoExit with failure status if we are unable to list any files or
Matt Kraai [Fri, 13 Oct 2000 17:59:43 +0000 (17:59 -0000)]
Exit with failure status if we are unable to list any files or
directories.  Patch thanks to Kent Robotti <robotti@metconnect.com>.