artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71d731
)
Set umask so save files are writeable by hack
author
tholo
<tholo@openbsd.org>
Fri, 28 Mar 1997 18:56:20 +0000
(18:56 +0000)
committer
tholo
<tholo@openbsd.org>
Fri, 28 Mar 1997 18:56:20 +0000
(18:56 +0000)
games/hack/hack.main.c
patch
|
blob
|
history
diff --git
a/games/hack/hack.main.c
b/games/hack/hack.main.c
index
4772ae2
..
4b2e06f
100644
(file)
--- a/
games/hack/hack.main.c
+++ b/
games/hack/hack.main.c
@@
-123,6
+123,7
@@
char *argv[];
*/
gettty();
setbuf(stdout,obuf);
+ umask(007);
setrandom();
startup();
cls();