summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pfinet/ChangeLog7
-rw-r--r--pfinet/Makefile4
-rw-r--r--pfinet/main.c7
3 files changed, 14 insertions, 4 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog
index a126d349..b5f15b5a 100644
--- a/pfinet/ChangeLog
+++ b/pfinet/ChangeLog
@@ -1,3 +1,10 @@
+Mon Jul 21 14:58:13 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile (HURDLIBS): Add iohelp.
+
+ * main.c (trivfs_goaway): If FSYS_GOAWAY_FORCE is set, then go
+ away, otherwise, continue to return EBUSY.
+
Fri Apr 25 10:46:49 1997 Miles Bader <miles@gnu.ai.mit.edu>
* options.c (trivfs_append_args): Renamed from trivfs_get_options.
diff --git a/pfinet/Makefile b/pfinet/Makefile
index 6c4a8c8b..e86512a9 100644
--- a/pfinet/Makefile
+++ b/pfinet/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
# Written by Michael I. Bushnell.
#
# This file is part of the GNU Hurd.
@@ -40,7 +40,7 @@ FROBBEDLINUXHEADERS = autoconf.h config.h errno.h etherdevice.h fcntl.h \
string.h tcp.h termios.h time.h timer.h types.h udp.h un.h wait.h
ASMHEADERS=bitops.h segment.h system.h
-HURDLIBS=trivfs fshelp threads ports ihash shouldbeinlibc
+HURDLIBS=trivfs fshelp threads ports ihash shouldbeinlibc iohelp
target = pfinet
diff --git a/pfinet/main.c b/pfinet/main.c
index 64c8a664..661a09c9 100644
--- a/pfinet/main.c
+++ b/pfinet/main.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -242,5 +242,8 @@ trivfs_modify_stat (struct trivfs_protid *cred,
error_t
trivfs_goaway (struct trivfs_control *cntl, int flags)
{
- return EBUSY;
+ if (flags & FSYS_GOAWAY_FORCE)
+ exit (0);
+ else
+ return EBUSY;
}