ba9b350189
Changes: * Thu Feb 02 2006 - Release of a GPL compliant 2.01.01a05-ossdvd patch. This patch is for cdrtools-2.01.01a05.tar.bz2 and is adjusted to work with linux kernel 2.6.12 or higher and can be compiled with gcc-4.0.x. The rawio patch using libcap has been migrated to cdrtools-2.01.01a05-rawio.patch.bz2 . The patch called cdrtools-2.01.01-scsibuf.patch.bz has become redundant, as this has been integrated inside cdrtools-2.01.01a05.tar.bz2 . RPMS and SRPMS have been updated for mandriva 2006.0. The order of applying patches is now : 1. cdrtools-2.01.01a05-ossdvd.patch.bz2 .ossdvd 2. cdrtools-2.01.01a01-DVD-speed.patch.bz2 .dvd-speed 3. cdrtools-2.01.01a05-rawio.patch.bz2 .rawio 4. cdrtools-2.01.01a01-scanbus.patch.bz2 .scanbus Warly's Cdrecord DVD patch and others can now be found on http://people.mandriva.com/~warly/files/cdrtools/
20 lines
467 B
Text
20 lines
467 B
Text
$NetBSD: patch-bb,v 1.3 2006/02/04 12:05:17 wiz Exp $
|
|
|
|
--- mkisofs/mkisofs.c.orig 2006-01-12 00:29:46.000000000 +0000
|
|
+++ mkisofs/mkisofs.c
|
|
@@ -2412,12 +2412,12 @@ parse_input_files:
|
|
}
|
|
}
|
|
/* 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
|
|
#endif
|