artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9912a9
)
late game space battles require tty pledge to clear screen, etc.
author
tedu
<tedu@openbsd.org>
Wed, 31 May 2017 19:51:27 +0000
(19:51 +0000)
committer
tedu
<tedu@openbsd.org>
Wed, 31 May 2017 19:51:27 +0000
(19:51 +0000)
from tomr
games/battlestar/battlestar.c
patch
|
blob
|
history
diff --git
a/games/battlestar/battlestar.c
b/games/battlestar/battlestar.c
index
56bccd1
..
d1e9730
100644
(file)
--- a/
games/battlestar/battlestar.c
+++ b/
games/battlestar/battlestar.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: battlestar.c,v 1.2
0 2016/01/01 15:56:04
tedu Exp $ */
+/* $OpenBSD: battlestar.c,v 1.2
1 2017/05/31 19:51:27
tedu Exp $ */
/* $NetBSD: battlestar.c,v 1.3 1995/03/21 15:06:47 cgd Exp $ */
/*
@@
-50,7
+50,7
@@
main(int argc, char *argv[])
char mainbuf[LINELENGTH];
char *next;
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath
tty
", NULL) == -1)
err(1, "pledge");
open_score_file();