summaryrefslogtreecommitdiff
path: root/src/init1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init1.c')
-rw-r--r--src/init1.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/init1.c b/src/init1.c
index d8fc7053..debf3188 100644
--- a/src/init1.c
+++ b/src/init1.c
@@ -1513,15 +1513,9 @@ static void fp_stack_push(cptr name)
/* Build the filename */
path_build(buf, 1024, ANGBAND_DIR_EDIT, name);
- /* Grab permission */
- safe_setuid_grab();
-
/* Open the file */
fp = my_fopen(buf, "r");
- /* Drop permission */
- safe_setuid_drop();
-
/* Parse it */
if (!fp) quit(format("Cannot open '%s' file.", name));
@@ -11749,15 +11743,9 @@ errr process_dungeon_file(cptr full_text, cptr name, int *yval, int *xval, int y
/* Build the filename */
path_build(buf, 1024, ANGBAND_DIR_EDIT, name);
- /* Grab permission */
- safe_setuid_grab();
-
/* Open the file */
fp = my_fopen(buf, "r");
- /* Drop permission */
- safe_setuid_drop();
-
/* No such file */
if (!fp)
{