Set umask so save files are writeable by hack
authortholo <tholo@openbsd.org>
Fri, 28 Mar 1997 18:56:20 +0000 (18:56 +0000)
committertholo <tholo@openbsd.org>
Fri, 28 Mar 1997 18:56:20 +0000 (18:56 +0000)
games/hack/hack.main.c

index 4772ae2..4b2e06f 100644 (file)
@@ -123,6 +123,7 @@ char *argv[];
         */
        gettty();
        setbuf(stdout,obuf);
+       umask(007);
        setrandom();
        startup();
        cls();