oweals/busybox.git
24 years ago+ busybox --install [-s]
John Beppu [Wed, 28 Jun 2000 00:41:26 +0000 (00:41 -0000)]
+ busybox --install [-s]
  is functional (but disabled in busybox.def.h by default)
  Someone email the guy who originally wanted this.

24 years agoRemove stuff now moved into the bug tracking system.
Eric Andersen [Tue, 27 Jun 2000 18:12:19 +0000 (18:12 -0000)]
Remove stuff now moved into the bug tracking system.
 -Erik

24 years ago+ s/int install_links/static int install_links/
John Beppu [Tue, 27 Jun 2000 07:54:33 +0000 (07:54 -0000)]
+ s/int install_links/static int install_links/

? Did you want "busybox --install" or "busybox install" ?
  The TODO and mailing-list conflict on this issue.
  I would recommend against "busybox install", because
  people might confuse it w/ /usr/bin/install that does
  something different.

24 years agoThis kernel patch is no longer needed, with the change I made to init
Eric Andersen [Tue, 27 Jun 2000 06:22:09 +0000 (06:22 -0000)]
This kernel patch is no longer needed, with the change I made to init
and free...
 -Erik

24 years ago+ littering my code w/ comments about what troubles me.
John Beppu [Tue, 27 Jun 2000 04:56:45 +0000 (04:56 -0000)]
+ littering my code w/ comments about what troubles me.

24 years ago+ busybox --install [-s]
John Beppu [Tue, 27 Jun 2000 04:50:02 +0000 (04:50 -0000)]
+ busybox --install [-s]
  is almost good to go.  Here is my work in progress.

+ Look at the FIXME in busybox.c
  to see what I need.  The actual (sym)linking is disabled
  for now, although I'm sure it works ;)
  (Am I going to have to dig through /proc to find
  out where the currently running busybox is sitting?)

+ I put an #ifdef BB_FEATURE_INSTALLER around
  the new bits of code in busybox.c, and I have a
  #define BB_FEATURE_INSTALLER in busybox.def.h
  towards the bottom.

24 years agoJust converted busybox.pod to busybox.sgml using the Pod::DocBook Perl module.
Mark Whitley [Mon, 26 Jun 2000 13:31:53 +0000 (13:31 -0000)]
Just converted busybox.pod to busybox.sgml using the Pod::DocBook Perl module.
The resulting file needs some massaging and once it gets presentable, I'll
edit the Makefile to use the SGML file as the "authoritative" file; the plan
here is to generate other file formats from the SGML.

24 years agoFixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
Eric Andersen [Mon, 26 Jun 2000 12:14:30 +0000 (12:14 -0000)]
Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
Fix thanks to Arne Bernin <arne@matrix.loopback.org>
 -Erik

24 years ago* Fixed insmod module option parsing for options lacking an '='.
Eric Andersen [Mon, 26 Jun 2000 11:16:22 +0000 (11:16 -0000)]
* Fixed insmod module option parsing for options lacking an '='.
    Fix thanks to Marc Nijdam <marc_nijdam@hp.com>
 -Erik

24 years agoreadlink(2) does not NULL terminate the buffer it reads in, but tar expected it
Eric Andersen [Mon, 26 Jun 2000 10:54:06 +0000 (10:54 -0000)]
readlink(2) does not NULL terminate the buffer it reads in, but tar expected it
to do so.  This caused symlinks stored in tarballs to likely have trailing
crap in the stored symlink named.  Oops.
 -Erik

24 years agoUpdates to handle Linux 2.4.0 kernels (kludged around the "none" entries in
Eric Andersen [Mon, 26 Jun 2000 10:45:52 +0000 (10:45 -0000)]
Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in
/proc/mounts, added a hack to make sysinfo work with both old and new kernels).
 -Erik

24 years agoBetter error checking in insmod. Remove left over %m's
Eric Andersen [Thu, 22 Jun 2000 18:19:31 +0000 (18:19 -0000)]
Better error checking in insmod.  Remove left over %m's
 -Erik

24 years agoMinor web page update. 0_45
Eric Andersen [Thu, 22 Jun 2000 01:27:11 +0000 (01:27 -0000)]
Minor web page update.
 -Erik

24 years agoFix version #
Eric Andersen [Thu, 22 Jun 2000 00:23:09 +0000 (00:23 -0000)]
Fix version #
 -Erik

24 years agoMore doc updates
Eric Andersen [Thu, 22 Jun 2000 00:19:33 +0000 (00:19 -0000)]
More doc updates
 -Erik

24 years agoMerged two TODO items into one
Mark Whitley [Thu, 22 Jun 2000 00:16:37 +0000 (00:16 -0000)]
Merged two TODO items into one

24 years agoUpdate the list.
Eric Andersen [Thu, 22 Jun 2000 00:04:12 +0000 (00:04 -0000)]
Update the list.
 -Erik

24 years agoPavel Roskin <proski@gnu.org> just found a nasty memory
Eric Andersen [Thu, 22 Jun 2000 00:02:56 +0000 (00:02 -0000)]
Pavel Roskin <proski@gnu.org> just found a nasty memory
corruption bug.  Disabling 'ln -n' till it is fixed.
 -Erik

24 years agoDocument 'ln --'
Eric Andersen [Wed, 21 Jun 2000 22:53:24 +0000 (22:53 -0000)]
Document 'ln --'
 -Erik

24 years agoCleaned up some #ifdef spiderwebs.
Mark Whitley [Wed, 21 Jun 2000 22:53:16 +0000 (22:53 -0000)]
Cleaned up some #ifdef spiderwebs.

24 years agoBump version number to 0.45
Eric Andersen [Wed, 21 Jun 2000 22:50:59 +0000 (22:50 -0000)]
Bump version number to 0.45
 -Erik

24 years agoAdded an implicit rule for #defining BB_FEATURE_USE_TERMIOS if
Mark Whitley [Wed, 21 Jun 2000 22:46:32 +0000 (22:46 -0000)]
Added an implicit rule for #defining BB_FEATURE_USE_TERMIOS if
BB_FEATURE_AUTOWIDTH is #defined.

24 years agoMore doc updates.
Eric Andersen [Wed, 21 Jun 2000 22:44:33 +0000 (22:44 -0000)]
More doc updates.
 -Erik

24 years agoWeb site updates.
Eric Andersen [Wed, 21 Jun 2000 22:43:07 +0000 (22:43 -0000)]
Web site updates.
 -Erik

24 years agoAdd in my little patch for 2.4.x to make sysinfo binary compatable (again)
Eric Andersen [Wed, 21 Jun 2000 22:06:56 +0000 (22:06 -0000)]
Add in my little patch for 2.4.x to make sysinfo binary compatable (again)
 -Erik

24 years agoDocumented "which"
Pavel Roskin [Wed, 21 Jun 2000 21:43:24 +0000 (21:43 -0000)]
Documented "which"

24 years agoRemoved trailing spaces
Pavel Roskin [Wed, 21 Jun 2000 21:38:00 +0000 (21:38 -0000)]
Removed trailing spaces

24 years agoAdd in telnet docs.
Eric Andersen [Wed, 21 Jun 2000 21:04:01 +0000 (21:04 -0000)]
Add in telnet docs.
 -Erik

24 years agoAdd insmod docs
Eric Andersen [Wed, 21 Jun 2000 21:03:13 +0000 (21:03 -0000)]
Add insmod docs
 -Erik

24 years agoUpdated the list of supported commands
Pavel Roskin [Wed, 21 Jun 2000 20:25:07 +0000 (20:25 -0000)]
Updated the list of supported commands

24 years agoRemoved all vestiges of "math"
Pavel Roskin [Wed, 21 Jun 2000 20:17:29 +0000 (20:17 -0000)]
Removed all vestiges of "math"

24 years ago+ added dc (aka the function formerly known as math)
John Beppu [Wed, 21 Jun 2000 19:06:16 +0000 (19:06 -0000)]
+ added dc (aka the function formerly known as math)
+ did all the housekeeping that this change requires.

24 years ago'tar --help' wasn't working. Fixed it.
Eric Andersen [Wed, 21 Jun 2000 18:37:36 +0000 (18:37 -0000)]
'tar --help' wasn't working.  Fixed it.
 -Erik

24 years ago+ made it so that you can use the mnemonics
John Beppu [Wed, 21 Jun 2000 18:00:46 +0000 (18:00 -0000)]
+ made it so that you can use the mnemonics
  (add, sub, mul, div) in lieu of (+, -, *, /)

24 years agoSpecial case the memcopy stuff so it isn't enabled for uclibc
Eric Andersen [Tue, 20 Jun 2000 21:04:03 +0000 (21:04 -0000)]
Special case the memcopy stuff so it isn't enabled for uclibc
 -Erik

24 years agoSome makefile fixes to allow compiling with ucLibc (stuff turned off
Eric Andersen [Tue, 20 Jun 2000 21:03:24 +0000 (21:03 -0000)]
Some makefile fixes to allow compiling with ucLibc (stuff turned off
by default of course).
 -Erik

24 years agoUpdated e-mail address of Pavel Roskin to proski@gnu.org
Pavel Roskin [Tue, 20 Jun 2000 00:11:07 +0000 (00:11 -0000)]
Updated e-mail address of Pavel Roskin to proski@gnu.org

24 years agoMention libc support, Pavel's rm fix is already merged.
Eric Andersen [Mon, 19 Jun 2000 20:19:04 +0000 (20:19 -0000)]
Mention libc support, Pavel's rm fix is already merged.
 -Erik

24 years agoFinish off the libc5 porting effort. Everything now works with libc5
Eric Andersen [Mon, 19 Jun 2000 20:03:48 +0000 (20:03 -0000)]
Finish off the libc5 porting effort.  Everything now works with libc5
except for md5sum, which uses the GNU libc addition getline().
 -Erik

24 years agoMade insmod work with both libc5 and libc6.
Eric Andersen [Mon, 19 Jun 2000 19:53:30 +0000 (19:53 -0000)]
Made insmod work with both libc5 and libc6.
 -Erik

24 years agoMade ping work with libc5 and libc6.
Eric Andersen [Mon, 19 Jun 2000 18:51:53 +0000 (18:51 -0000)]
Made ping work with libc5 and libc6.
 -Erik

24 years agoMake umount work and compile cleanly under libc5 and libc6.
Eric Andersen [Mon, 19 Jun 2000 18:38:51 +0000 (18:38 -0000)]
Make umount work and compile cleanly under libc5 and libc6.
 -Erik

24 years agoMake swaponoff compile cleanly under both libc5 and libc6.
Eric Andersen [Mon, 19 Jun 2000 18:25:49 +0000 (18:25 -0000)]
Make swaponoff compile cleanly under both libc5 and libc6.
 -Erik

24 years agoMake syslogd.c, init.c, and update.c compile error/warning free under both libc5...
Eric Andersen [Mon, 19 Jun 2000 18:14:20 +0000 (18:14 -0000)]
Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
 -Erik

24 years agoprintf now compiles cleanly under both libc5 and libc6.
Eric Andersen [Mon, 19 Jun 2000 17:52:17 +0000 (17:52 -0000)]
printf now compiles cleanly under both libc5 and libc6.
 -Erik

24 years agoUpdated to compile and work with libc5.
Eric Andersen [Mon, 19 Jun 2000 17:48:02 +0000 (17:48 -0000)]
Updated to compile and work with libc5.
 -Erik

24 years agoUpdate internal.h to conditionally include asm/string.h
Eric Andersen [Mon, 19 Jun 2000 17:30:07 +0000 (17:30 -0000)]
Update internal.h to conditionally include asm/string.h
 -Erik

24 years agoUpdates to a number of apps to remove warnings/compile errors under libc5.
Eric Andersen [Mon, 19 Jun 2000 17:25:40 +0000 (17:25 -0000)]
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes.
 -Erik

24 years agoAdded a note to the "maybe by 0.44" list to prune sfdisk and graft fdisk.
Mark Whitley [Mon, 19 Jun 2000 17:03:32 +0000 (17:03 -0000)]
Added a note to the "maybe by 0.44" list to prune sfdisk and graft fdisk.

24 years agoFix a stupid bug, where I cleaned things as the last makefile target. duh.
Eric Andersen [Mon, 19 Jun 2000 09:29:32 +0000 (09:29 -0000)]
Fix a stupid bug, where I cleaned things as the last makefile target.  duh.
 -Erik

24 years agoAdded support for building debian packages.
Eric Andersen [Mon, 19 Jun 2000 09:21:34 +0000 (09:21 -0000)]
Added support for building debian packages.
 -Erik

24 years agoCheck for 3 and more arguments was incorrect
Pavel Roskin [Sun, 18 Jun 2000 00:02:24 +0000 (00:02 -0000)]
Check for 3 and more arguments was incorrect
It is only allowed for linking to a directory
But linking to a directory still fails and may be removed

24 years agoFix some spelling errors in the source as well.
Eric Andersen [Fri, 16 Jun 2000 19:57:44 +0000 (19:57 -0000)]
Fix some spelling errors in the source as well.
 -Erik

24 years agoRan it through a spell checker and fixed the spelling errors.
Eric Andersen [Fri, 16 Jun 2000 19:56:44 +0000 (19:56 -0000)]
Ran it through a spell checker and fixed the spelling errors.
 -Erik

24 years agoUpdate to ar.c from Glenn McGrath. His comments follow:
Eric Andersen [Fri, 16 Jun 2000 04:56:40 +0000 (04:56 -0000)]
Update to ar.c from Glenn McGrath.  His comments follow:

------------------------------

the attached diff applies to the ar.c i originally submitted

Changes

Preserve dates now works.
Extracted files are set to the uid, gid and mode specified in the
archive.
Checks for valid end of header marker.
Correctly unpacks newer debian files. (has a '\n' character between
entries)
Added more comments.
Cleaned up code.
Added a last modified date to help keep track of versions.

TODO

Common functionality in ar.c are in tar.c should be merged, in
particular getOctal and extractSubFile.

Should all functions that are used by multiple file go in utilities.c ?

24 years agoAdded some comments and changed a variable name to be more meaningful. No
Mark Whitley [Fri, 16 Jun 2000 00:26:51 +0000 (00:26 -0000)]
Added some comments and changed a variable name to be more meaningful. No
fixes yet for the space bug, but should be coming soon.

24 years agoln: fixed command line parser. Added support for "--"
Pavel Roskin [Thu, 15 Jun 2000 18:04:40 +0000 (18:04 -0000)]
ln: fixed command line parser. Added support for "--"

24 years agoRemove trailing space char.
Eric Andersen [Wed, 14 Jun 2000 22:16:59 +0000 (22:16 -0000)]
Remove trailing space char.
 -Erik

24 years agoIntegrate Tomi Ollila's telnet. Costs 3k. :)
Eric Andersen [Wed, 14 Jun 2000 20:42:57 +0000 (20:42 -0000)]
Integrate Tomi Ollila's telnet.  Costs 3k. :)
 -Erik

24 years agoFixed "rm foo" that had been broken while implementing "rm -- foo"
Pavel Roskin [Wed, 14 Jun 2000 17:39:41 +0000 (17:39 -0000)]
Fixed "rm foo" that had been broken while implementing "rm -- foo"

24 years agoModified status of some TODO items, added some others in preparation for the
Mark Whitley [Wed, 14 Jun 2000 17:35:54 +0000 (17:35 -0000)]
Modified status of some TODO items, added some others in preparation for the
0.44 release.

24 years ago+ minor typo fix
John Beppu [Wed, 14 Jun 2000 09:11:05 +0000 (09:11 -0000)]
+ minor typo fix
  s/&gt/&gt;/

24 years ago+ removed some cruft left over from when lines could be too long.
John Beppu [Wed, 14 Jun 2000 00:19:14 +0000 (00:19 -0000)]
+ removed some cruft left over from when lines could be too long.

24 years agoUrgh. revert Makefile. again. Forgot to do the 'cvs update -d now' trick
Eric Andersen [Tue, 13 Jun 2000 06:57:56 +0000 (06:57 -0000)]
Urgh.  revert Makefile.  again.  Forgot to do the 'cvs update -d now' trick
on my home box.

24 years agoAdd new apps md5sum uudecode uuencode, fix some minor formatting things.
Eric Andersen [Tue, 13 Jun 2000 06:54:53 +0000 (06:54 -0000)]
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
 -Erik

24 years agoFix a bug pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Eric Andersen [Tue, 13 Jun 2000 06:24:53 +0000 (06:24 -0000)]
Fix a bug pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
where you used to see:
      ./grep -q -i B some_file
      B: No such file or directory
This is now fixed.
 -Erik

24 years agoGive beppu credit for fixing grep "Line too long" bug.
Eric Andersen [Tue, 13 Jun 2000 00:49:41 +0000 (00:49 -0000)]
Give beppu credit for fixing grep "Line too long" bug.
 -Erik

24 years ago+ utility.c
John Beppu [Mon, 12 Jun 2000 23:39:04 +0000 (23:39 -0000)]
+ utility.c
  CSTRING_BUFFER_LENGTH = 1024 /* so it recurses less often */
+ grep.c
  uses cstring_lineFromFile(), and doesn't ever say
  Line is too long, anymore

24 years agoAdded a slightly modified version of Ron Alder's insmod patch.
Eric Andersen [Mon, 12 Jun 2000 23:11:16 +0000 (23:11 -0000)]
Added a slightly modified version of Ron Alder's insmod patch.
Very cool stuff.
 -Erik

24 years ago+ updated docs to reflect math's filter capabilities.
John Beppu [Mon, 12 Jun 2000 23:04:55 +0000 (23:04 -0000)]
+ updated docs to reflect math's filter capabilities.

24 years ago+ works as a filter, now!
John Beppu [Mon, 12 Jun 2000 22:59:12 +0000 (22:59 -0000)]
+ works as a filter, now!
- I have a feeling I could have used strtok, but the
  2 functions I added are really small, so it shouldn't
  be a big deal.  (They were just laying around, and I
  wanted to use them, again).

24 years ago* Fixed a small bug that could cause tar to emit warning messages
Eric Andersen [Fri, 9 Jun 2000 20:51:50 +0000 (20:51 -0000)]
* Fixed a small bug that could cause tar to emit warning messages
    and not extract the first file in a directory in some cases
    of nested directories.  Thanks to Kevin Traas <kevin@netmaster.com>
    for helping track this one down.
 -Erik

24 years agoFixed parsing of arguments for cp
Pavel Roskin [Thu, 8 Jun 2000 18:06:37 +0000 (18:06 -0000)]
Fixed parsing of arguments for cp

24 years agoFormatting change.
Eric Andersen [Thu, 8 Jun 2000 15:25:39 +0000 (15:25 -0000)]
Formatting change.
 -Erik

24 years agoMy pod2man (perl-5.00503) complains if there is no newline after "Options:"
Pavel Roskin [Wed, 7 Jun 2000 21:19:49 +0000 (21:19 -0000)]
My pod2man (perl-5.00503) complains if there is no newline after "Options:"

24 years agoSyslogd will not go to background if "-n" is given. Better help
Pavel Roskin [Wed, 7 Jun 2000 21:08:25 +0000 (21:08 -0000)]
Syslogd will not go to background if "-n" is given. Better help
and argument checking

24 years agoImplemented "ping -s", fixed error messages and argument parsing
Pavel Roskin [Wed, 7 Jun 2000 20:38:15 +0000 (20:38 -0000)]
Implemented "ping -s", fixed error messages and argument parsing

24 years agoDebug should be off in the Makefile. I will now do (per Pavel's
Eric Andersen [Wed, 7 Jun 2000 17:33:30 +0000 (17:33 -0000)]
Debug should be off in the Makefile.  I will now do (per Pavel's
suggestion) a "cvs up -D now Makefile" so I stop updating the
Makefile by accident.
 -Erik

24 years ago* Fixed 'swapon -a' and 'swapoff -a', which were broken.
Eric Andersen [Wed, 7 Jun 2000 17:28:53 +0000 (17:28 -0000)]
* Fixed 'swapon -a' and 'swapoff -a', which were broken.
* Fixed 'mount -a' so it works as expected.
* Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE)
 -Erik

24 years agoFix 'date -u'
Eric Andersen [Tue, 6 Jun 2000 22:17:43 +0000 (22:17 -0000)]
Fix 'date -u'
 -Erik

24 years agoOops. Remove the debugging noise.
Eric Andersen [Tue, 6 Jun 2000 22:13:39 +0000 (22:13 -0000)]
Oops.  Remove the debugging noise.
 -Erik

24 years agomkfs.minix rev 1.7 completely broke the option parser. This fixes it.
Eric Andersen [Tue, 6 Jun 2000 22:12:35 +0000 (22:12 -0000)]
mkfs.minix rev 1.7 completely broke the option parser.  This fixes it.
 -Erik

24 years agoRemoved chmod,chown,chgrp from the "Bugs that need fixing" list.
Mark Whitley [Tue, 6 Jun 2000 18:12:47 +0000 (18:12 -0000)]
Removed chmod,chown,chgrp from the "Bugs that need fixing" list.

24 years agoFixed segfaults for "chown -R" and "chgrp -R". Also added a message for "too
Mark Whitley [Tue, 6 Jun 2000 18:11:46 +0000 (18:11 -0000)]
Fixed segfaults for "chown -R" and "chgrp -R". Also added a message for "too
few arguments".

24 years agoFixed exit status for killall
Pavel Roskin [Tue, 6 Jun 2000 18:10:17 +0000 (18:10 -0000)]
Fixed exit status for killall

24 years agoAdded considering making a unified option parser someday.
Mark Whitley [Tue, 6 Jun 2000 18:05:47 +0000 (18:05 -0000)]
Added considering making a unified option parser someday.

24 years agoFixed segfault when you type "chmod -R". "chown -R" and "chgrp -R" are still
Mark Whitley [Tue, 6 Jun 2000 17:40:32 +0000 (17:40 -0000)]
Fixed segfault when you type "chmod -R". "chown -R" and "chgrp -R" are still
having problems...

24 years ago"mount" now reports errors from nfsmount() and assumes NFS mount
Pavel Roskin [Tue, 6 Jun 2000 17:03:55 +0000 (17:03 -0000)]
"mount" now reports errors from nfsmount() and assumes NFS mount
if ':' is present in the device name - Pavel Roskin

24 years agoUpdated TODO item re: 'cp -a /tmp/*' not producing the right error message
Mark Whitley [Tue, 6 Jun 2000 17:03:54 +0000 (17:03 -0000)]
Updated TODO item re: 'cp -a /tmp/*' not producing the right error message
(it's been fixed).

24 years agoFixed a bunch of stuff:
Eric Andersen [Tue, 6 Jun 2000 16:15:23 +0000 (16:15 -0000)]
Fixed a bunch of stuff:
* Fixed segfault caused by "touch -c"
* Fixed segfault caused by "rm -f"
* Fixed segfault caused by "ln -s -s" and similar abuses.
* Fixed segfault caused by "cp -a -a" and similar abuses.
* Implemented "rm -- <foo>"
updated docs accordingly.
 -Erik

24 years ago"which" rewritten to use stat(). Fixes to improve its compatability
Pavel Roskin [Mon, 5 Jun 2000 23:41:27 +0000 (23:41 -0000)]
"which" rewritten to use stat(). Fixes to improve its compatability
with traditional implementations

24 years agoFix more spelling errors.
Pavel Roskin [Mon, 5 Jun 2000 20:19:47 +0000 (20:19 -0000)]
Fix more spelling errors.

24 years agoFix spelling error
Eric Andersen [Mon, 5 Jun 2000 17:23:06 +0000 (17:23 -0000)]
Fix spelling error
 -Erik

24 years agoFix spelling errors.
Eric Andersen [Mon, 5 Jun 2000 17:22:37 +0000 (17:22 -0000)]
Fix spelling errors.
 -Erik

24 years agoMore TODO items. Fix a dependancy bug on busybox.def.h
Eric Andersen [Mon, 5 Jun 2000 05:33:00 +0000 (05:33 -0000)]
More TODO items.  Fix a dependancy bug on busybox.def.h
 -Erik

24 years ago"nc" exits silently on errors. This patch makes it print something before
Eric Andersen [Sun, 4 Jun 2000 05:21:49 +0000 (05:21 -0000)]
"nc" exits silently on errors. This patch makes it print something before
exit().

Note that calling perror() after gethostbyname() will most likely return
"No such file or directory" which is quite confusing, so I decided to use
fatalError instead.

Regards,
Pavel Roskin

24 years agoDon't allow mkfifo to create files such as "--help"
Eric Andersen [Sun, 4 Jun 2000 05:17:35 +0000 (05:17 -0000)]
Don't allow mkfifo to create files such as "--help"

This patch checks if the name of FIFO to be created begins with "-" and
calls usage() if it does.

Regards,
Pavel Roskin

24 years agoThis patch
Eric Andersen [Sun, 4 Jun 2000 05:08:29 +0000 (05:08 -0000)]
This patch
- eliminates the need to have a buffer and strcpy to it
- makes freeramdisk complain if it's given more than one argument

Regards,
Pavel Roskin

24 years agoTurn off debugging in the Makefile.
Eric Andersen [Sat, 3 Jun 2000 05:22:31 +0000 (05:22 -0000)]
Turn off debugging in the Makefile.
 -Erik

24 years agoNote that I broke mkfs_minix's parser in rev 1.7.
Eric Andersen [Sat, 3 Jun 2000 00:27:00 +0000 (00:27 -0000)]
Note that I broke mkfs_minix's parser in rev 1.7.
 -Erik