aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-21 08:52:28 +0800
committerkris <kris@FreeBSD.org>2002-10-21 08:52:28 +0800
commit5b84ab399ebf925c529095a86a4dfe9911fcb30c (patch)
treed3806996ed8fe13d2788e021e6dd651c997a391d /security
parent3be6d9b136dca5297f1bcd4cfa04fbb283bf59cb (diff)
downloadfreebsd-ports-gnome-5b84ab399ebf925c529095a86a4dfe9911fcb30c.tar.gz
freebsd-ports-gnome-5b84ab399ebf925c529095a86a4dfe9911fcb30c.tar.zst
freebsd-ports-gnome-5b84ab399ebf925c529095a86a4dfe9911fcb30c.zip
Fix build on -current (_exit() -> _exit(0))
Diffstat (limited to 'security')
-rw-r--r--security/identify/files/patch-ab11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/identify/files/patch-ab b/security/identify/files/patch-ab
index bd6878e20238..75cb4dcb71f0 100644
--- a/security/identify/files/patch-ab
+++ b/security/identify/files/patch-ab
@@ -1,5 +1,5 @@
--- identify.c.orig Tue Feb 2 01:51:57 1993
-+++ identify.c Fri Apr 2 10:57:28 1999
++++ identify.c Sun Oct 20 17:53:44 2002
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <signal.h>
@@ -113,6 +113,15 @@
case 'R':
if (!argv[i][2])
reject_flag = 1;
+@@ -200,7 +173,7 @@
+ {
+ /* In child, let's fork again so we can forget about this child */
+ if (fork())
+- _exit();
++ _exit(0);
+ }
+ else
+ {
@@ -241,13 +214,13 @@
}
}