aboutsummaryrefslogtreecommitdiff
path: root/src/appl
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/bsd/ChangeLog8
-rw-r--r--src/appl/bsd/login.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index c1a3bce..281bae9 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,3 +1,11 @@
+Mon Jun 30 13:21:34 1997 Kevin L Mitchell <klmitch@mit.edu>
+
+ * login.c (dofork): Solaris 2.4 puts killpg in the bsd compatibility
+ libraries. Autoconf correctly determined that it wasn't
+ available, but it wasn't conditionalized out. Added the
+ conditional, using kill(-child, SIGHUP) as a replacement,
+ as suggested by tlyu
+
Thu Jun 5 15:56:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
* login.c: Always use the new tty line discpline. [krb5-appl/428]
diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c
index d75a532..4aa2e87 100644
--- a/src/appl/bsd/login.c
+++ b/src/appl/bsd/login.c
@@ -2455,7 +2455,11 @@ dofork()
#endif
#endif
if (hungup)
+#ifdef HAVE_KILLPG
killpg(child, SIGHUP);
+#else
+ kill(-child, SIGHUP);
+#endif
if (pid == child)
break;
}