artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f5591
)
missed in previous commit
author
mestre
<mestre@openbsd.org>
Sat, 23 Oct 2021 15:08:26 +0000
(15:08 +0000)
committer
mestre
<mestre@openbsd.org>
Sat, 23 Oct 2021 15:08:26 +0000
(15:08 +0000)
this was ok tb@
games/backgammon/teachgammon/teach.c
patch
|
blob
|
history
diff --git
a/games/backgammon/teachgammon/teach.c
b/games/backgammon/teachgammon/teach.c
index
ae66d3b
..
a46b044
100644
(file)
--- a/
games/backgammon/teachgammon/teach.c
+++ b/
games/backgammon/teachgammon/teach.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: teach.c,v 1.
19 2021/02/06 21:42:30
mestre Exp $ */
+/* $OpenBSD: teach.c,v 1.
20 2021/10/23 15:08:26
mestre Exp $ */
/*
* Copyright (c) 1980, 1993
@@
-53,11
+53,12
@@
main(int argc, char *argv[])
{
int i;
+ signal(SIGINT, getout);
+ initcurses();
+
if (pledge("stdio rpath wpath cpath tty exec", NULL) == -1)
err(1, "pledge");
- signal(SIGINT, getout);
- initcurses();
text(hello);
text(list);
i = text(contin);