2000-12-30 17:50:29 +01:00
|
|
|
--- 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 @@
|
2000-07-07 20:29:04 +02:00
|
|
|
if (argc == -1)
|
|
|
|
cmd_error(NULL, NULL);
|
2000-05-07 04:14:29 +02:00
|
|
|
/* Shift to being the user that started the game. */
|
|
|
|
- games_uid = geteuid();
|
|
|
|
- setuid(getuid());
|
|
|
|
+ games_uid = getegid();
|
|
|
|
+ setgid(getgid());
|
|
|
|
init_library_path(NULL);
|
2000-07-07 20:29:04 +02:00
|
|
|
/* Fiddle with game module structures. */
|
|
|
|
clear_game_modules();
|