freebsd-ports/games/xconq/files/patch-aj
Steve Price 274de75e9b Update to version 7.3.3.
PR:		19702
Submitted by:	maintainer
2000-07-07 18:29:04 +00:00

14 lines
420 B
Plaintext

--- x11/xconq.c.orig Mon Apr 24 07:56:58 2000
+++ x11/xconq.c Wed Jun 28 21:45:49 2000
@@ -46,8 +46,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();