3428c99cda
The stable version is currently 1.10, this is 1.11a34
19 lines
460 B
Text
19 lines
460 B
Text
$NetBSD: patch-bb,v 1.1.1.1 2001/08/07 11:23:57 lukem Exp $
|
|
|
|
--- mkisofs/mkisofs.c.orig Fri Apr 20 17:45:50 2001
|
|
+++ mkisofs/mkisofs.c Mon Aug 6 10:46:21 2001
|
|
@@ -2072,11 +2072,11 @@
|
|
}
|
|
}
|
|
/* We don't need root privilleges anymore. */
|
|
-#ifdef HAVE_SETREUID
|
|
- if (setreuid(-1, getuid()) < 0)
|
|
-#else
|
|
#ifdef HAVE_SETEUID
|
|
if (seteuid(getuid()) < 0)
|
|
+#else
|
|
+#ifdef HAVE_SETREUID
|
|
+ if (setreuid(-1, getuid()) < 0)
|
|
#else
|
|
if (setuid(getuid()) < 0)
|
|
#endif
|