diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2009-04-28 21:27:54 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2009-04-28 21:27:54 +0000 |
commit | b6bb8c3d3a17625aa826094130b3d84530b6dae4 (patch) | |
tree | f2de4a4d4b2f5c3fcbd1ee2ea6cce6d571bfb5f7 /games/bsdgames/files/patch-atc_main.c | |
parent | - Fix PLIST (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_2_0'.release/7.2.0
Diffstat (limited to 'games/bsdgames/files/patch-atc_main.c')
-rw-r--r-- | games/bsdgames/files/patch-atc_main.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/games/bsdgames/files/patch-atc_main.c b/games/bsdgames/files/patch-atc_main.c deleted file mode 100644 index 3592011afea8..000000000000 --- a/games/bsdgames/files/patch-atc_main.c +++ /dev/null @@ -1,47 +0,0 @@ -Index: atc/main.c -@@ -173,6 +173,15 @@ - ioctl(fileno(stdin), TCSETAW, &tty_new); - #endif - -+#ifdef POSIX -+ tcgetattr(fileno(stdin), &tty_start); -+ bcopy(&tty_start, &tty_new, sizeof(tty_new)); -+ tty_new.c_lflag &= ~ICANON; -+ tty_new.c_lflag &= ~ECHO; -+ tty_new.c_cc[VMIN] = 1; -+ tty_new.c_cc[VTIME] = 0; -+ tcsetattr(fileno(stdin), TCSANOW, &tty_new); -+#endif - signal(SIGALRM, update); - - #ifdef BSD -@@ -185,6 +194,9 @@ - #ifdef SYSV - alarm(sp->update_secs); - #endif -+#ifdef POSIX -+ alarm(sp->update_secs); -+#endif - - for (;;) { - if (getcommand() != 1) -@@ -198,6 +210,9 @@ - #ifdef SYSV - alarm(0); - #endif -+#ifdef POSIX -+ alarm(0); -+#endif - - update(); - -@@ -209,6 +224,9 @@ - setitimer(ITIMER_REAL, &itv, NULL); - #endif - #ifdef SYSV -+ alarm(sp->update_secs); -+#endif -+#ifdef POSIX - alarm(sp->update_secs); - #endif - } |