• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ttyrecのfork. Original: http://0xcc.net/ttyrec/


Commit MetaInfo

修订版6583d1cf50c118f621933ed1e5332bf848c0698f (tree)
时间2019-12-09 16:14:50
作者IWAMOTO Kouichi <sue@iwmt...>
CommiterIWAMOTO Kouichi

Log Message

update to ttyrec-1.0.4

更改概述

差异

--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
11 CC = gcc
22 CFLAGS = -O2
3-VERSION = 1.0.3
3+VERSION = 1.0.4
44
55 TARGET = ttyrec ttyplay
66
--- a/ttyplay.c
+++ b/ttyplay.c
@@ -108,11 +108,11 @@ ttyread (FILE *fp, Header *h, char **buf)
108108 int
109109 ttypread (FILE *fp, Header *h, char **buf)
110110 {
111- struct timeval w = {0, 250000};
112111 /*
113112 * Read persistently just like tail -f.
114113 */
115114 while (ttyread(fp, h, buf) == 0) {
115+ struct timeval w = {0, 250000};
116116 select(0, NULL, NULL, NULL, &w);
117117 clearerr(fp);
118118 }
--- a/ttyrec.c
+++ b/ttyrec.c
@@ -74,7 +74,7 @@
7474 #define _(FOO) FOO
7575
7676 #ifdef HAVE_openpty
77-#include <pty.h>
77+#include <libutil.h>
7878 #endif
7979
8080 void done(void);