• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

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

Change Summary

差異

--- 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);