diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 1999-07-05 03:33:05 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 1999-07-05 03:33:05 +0000 |
commit | 50e17fcabcf836ab2f19529b21ceaf3528a6df12 (patch) | |
tree | f53e61ad74c1f7a103bc1c28eb45eb4599fa2ff9 /audio/xmcd/files/patch-af | |
parent | Fix typo in *_DEPENDS lines (arhivers -> archivers). (diff) |
The xmcd author released an updated version of xmcd-2.5 that
incorporated what was in patch-af. Removed patch-af and
updated md5 to fix breakage caused by this release.
Breakage reported by: jkh
Notes
Notes:
svn path=/head/; revision=20070
Diffstat (limited to '')
-rw-r--r-- | audio/xmcd/files/patch-af | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/audio/xmcd/files/patch-af b/audio/xmcd/files/patch-af deleted file mode 100644 index 5200c47286f0..000000000000 --- a/audio/xmcd/files/patch-af +++ /dev/null @@ -1,39 +0,0 @@ ---- xmcd_d/main.c.orig Sat Apr 24 03:41:00 1999 -+++ xmcd_d/main.c Sun May 23 11:55:01 1999 -@@ -151,6 +151,8 @@ - { - int i; - Display *display; -+ uid_t euid, ruid; -+ gid_t egid, rgid; - - /* Error message stream */ - errfp = stderr; -@@ -201,6 +203,16 @@ - } - } - -+ /* get real IDs */ -+ ruid = getuid(); -+ rgid = getgid(); -+ /* save effective IDs */ -+ euid = geteuid(); -+ egid = getegid(); -+ /* give up root until we have a connection to the X server */ -+ (void)seteuid(ruid); -+ (void)setegid(rgid); -+ - /* Initialize X toolkit */ - widgets.toplevel = XtVaAppInitialize( - &app_context, -@@ -210,6 +222,10 @@ - NULL, - NULL - ); -+ -+ /* Ok, back to root */ -+ (void)seteuid(euid); -+ (void)setegid(egid); - - /* Get application options */ - XtVaGetApplicationResources( |