artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a29e4
)
while learning (teachgammon(1)) you might want to save your game so "{w,c}path"
author
mestre
<mestre@openbsd.org>
Sat, 6 Feb 2021 21:42:30 +0000
(21:42 +0000)
committer
mestre
<mestre@openbsd.org>
Sat, 6 Feb 2021 21:42:30 +0000
(21:42 +0000)
pledge(2) permissions are required
games/backgammon/teachgammon/teach.c
patch
|
blob
|
history
diff --git
a/games/backgammon/teachgammon/teach.c
b/games/backgammon/teachgammon/teach.c
index
4c882f7
..
ae66d3b
100644
(file)
--- a/
games/backgammon/teachgammon/teach.c
+++ b/
games/backgammon/teachgammon/teach.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: teach.c,v 1.1
8 2017/01/21 08:22:57 krw Exp $
*/
+/* $OpenBSD: teach.c,v 1.1
9 2021/02/06 21:42:30 mestre Exp $
*/
/*
* Copyright (c) 1980, 1993
@@
-53,7
+53,7
@@
main(int argc, char *argv[])
{
int i;
- if (pledge("stdio rpath tty exec", NULL) == -1)
+ if (pledge("stdio rpath
wpath cpath
tty exec", NULL) == -1)
err(1, "pledge");
signal(SIGINT, getout);