From d4fb34bbb4703e2b6c3e4fa2f816a60bbea2f0f7 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 23 Apr 2023 12:29:02 -0400 Subject: [PATCH] system.h --- {include => outdated/include}/system.h | 0 sys/unix/Makefile.src | 2 +- win/X11/winX.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {include => outdated/include}/system.h (100%) diff --git a/include/system.h b/outdated/include/system.h similarity index 100% rename from include/system.h rename to outdated/include/system.h diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index 725c1d31c..c65046c97 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src @@ -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 diff --git a/win/X11/winX.c b/win/X11/winX.c index f984c5259..059ca06ea 100644 --- a/win/X11/winX.c +++ b/win/X11/winX.c @@ -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());