This commit is contained in:
nhmall
2023-04-23 12:29:02 -04:00
parent 80a8eaf7e6
commit d4fb34bbb4
3 changed files with 2 additions and 2 deletions

View File

@@ -547,7 +547,7 @@ HACKINCL = align.h artifact.h artilist.h attrib.h botl.h \
micro.h mkroom.h monattk.h mondata.h monflag.h monst.h monsters.h \
obj.h objects.h objclass.h optlist.h patchlevel.h pcconf.h \
permonst.h prop.h rect.h region.h sym.h defsym.h rm.h sp_lev.h \
spell.h sndprocs.h seffects.h sys.h system.h tcap.h timeout.h \
spell.h sndprocs.h seffects.h sys.h tcap.h timeout.h \
tradstdc.h trap.h unixconf.h vision.h vmsconf.h wintty.h wincurs.h \
winX.h winprocs.h wintype.h you.h youprop.h cstd.h

View File

@@ -1585,7 +1585,7 @@ X11_init_nhwindows(int *argcp, char **argv)
* when opening X11 connections, in case the user is using xauth, since
* the "games" or whatever user probably doesn't have permission to open
* a window on the user's display. This code is harmless if the binary
* is not installed setuid. See include/system.h on compilation failures.
* is not installed setuid.
*/
savuid = geteuid();
(void) seteuid(getuid());