1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/xconq/files/patch-aj
Alexander Langer dfcac50937 - Update to 7.5.1.
- Depend on tcl/tk 8.3
- Update WWW + mastersite
- Change maintainer to ports@freebsd.org

PR:		23954
Submitted by:	Don Croyle <croyle@gelemna.org> (maintainer)
2000-12-30 16:50:29 +00:00

14 lines
420 B
Plaintext

--- x11/xconq.c.orig Thu Nov 23 20:19:09 2000
+++ x11/xconq.c Sat Dec 30 04:06:52 2000
@@ -33,8 +33,8 @@
if (argc == -1)
cmd_error(NULL, NULL);
/* Shift to being the user that started the game. */
- games_uid = geteuid();
- setuid(getuid());
+ games_uid = getegid();
+ setgid(getgid());
init_library_path(NULL);
/* Fiddle with game module structures. */
clear_game_modules();