1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/games/nethack33/files/patch-win-gnome-gnmain.c

11 lines
305 B
C

--- win/gnome/gnmain.c.orig Sat Aug 5 19:53:33 2000
+++ win/gnome/gnmain.c Sat May 18 03:12:16 2002
@@ -672,6 +672,7 @@
euid = geteuid();
if (uid != euid)
setuid(uid);
+ setregid(getegid(), -1);
gnome_init ("nethack", VERSION_STRING, argc, argv);
parse_args (argc, argv);