summaryrefslogtreecommitdiff
path: root/mail/milter-regex/patches/patch-aa
blob: 3651c5091d25597586f576894db7337146aee5c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.2 2006/04/30 17:11:25 joerg Exp $

--- milter-regex.c.orig	Fri Mar 19 13:21:40 2004
+++ milter-regex.c	Mon Jun  7 16:35:18 2004
@@ -596,7 +596,7 @@
 			return (1);
 		}
 		if (
-#if ! ( __linux__ || __sun__ )
+#if ! ( __linux__ || __sun__ || __NetBSD__ || defined(__DragonFly__) )
 		    seteuid(pw->pw_uid) ||
 #endif
 		    setuid(pw->pw_uid)) {