diff options
author | christos <christos@NetBSD.org> | 2020-11-11 17:11:19 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2020-11-11 17:11:19 +0000 |
commit | 6eff467615806d8dd5a8bac71bad4e5ca27b5c84 (patch) | |
tree | 3167d99c7ca36002ff9d62b7db669cd5e57179b8 /warp/intrp.c | |
parent | 38b99ae599004d14655eba19a5dd4304366aa9c5 (diff) | |
download | bsdgames-darwin-6eff467615806d8dd5a8bac71bad4e5ca27b5c84.tar.gz bsdgames-darwin-6eff467615806d8dd5a8bac71bad4e5ca27b5c84.tar.zst bsdgames-darwin-6eff467615806d8dd5a8bac71bad4e5ca27b5c84.zip |
- use termios
- enable setgid games
- enable savedir
Diffstat (limited to 'warp/intrp.c')
-rw-r--r-- | warp/intrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/warp/intrp.c b/warp/intrp.c index 5a370aba..6b6b8be4 100644 --- a/warp/intrp.c +++ b/warp/intrp.c @@ -568,7 +568,7 @@ getrealname(uid_t uid) if (fork()) wait(0); else { - setuid(getuid()); + setgid(getgid()); if ((tmpfp = fopen(filexp(FULLNAMEFILE),"w")) == NULL) exit(1); fprintf(tmpfp, "%s\n", buf); |