From 882107f713ff0eaf498be5b737a86c262dfcc897 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Wed, 3 Jun 2026 23:20:17 +0900 Subject: [PATCH] =?utf8?q?comet2monitor=20readline=E7=89=88=E3=81=AELinux?= =?utf8?q?=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit プロンプトと入力がMacではstderr、Linuxではstdoutに出力される Linuxではstdio.hのインクルードが必要 テストを修正 ついでに、make check時の誤字の修正 --- VERSION | 2 +- src/monitor.c | 1 + test/Template/Group.mk | 2 +- test/system/comet2monitor/break_help/cmd | 2 +- test/system/comet2monitor/break_help_2/cmd | 2 +- test/system/comet2monitor/dump_0/cmd | 2 +- test/system/comet2monitor/dump_1/cmd | 2 +- test/system/comet2monitor/dump_2/cmd | 2 +- test/system/comet2monitor/dump_3/cmd | 2 +- test/system/comet2monitor/dump_plus/cmd | 2 +- test/system/comet2monitor/help/cmd | 2 +- test/system/comet2monitor/load/cmd | 2 +- test/system/comet2monitor/quit/cmd | 2 +- test/system/comet2monitor/revert_hello/cmd | 2 +- 14 files changed, 14 insertions(+), 13 deletions(-) diff --git a/VERSION b/VERSION index 504bbe6..a4d9369 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.5p40 +v0.5p41 diff --git a/src/monitor.c b/src/monitor.c index 91ffab2..1bdc37b 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -1,3 +1,4 @@ +#include #include #include #include "monitor.h" diff --git a/test/Template/Group.mk b/test/Template/Group.mk index 5a6f8d6..d143c7e 100644 --- a/test/Template/Group.mk +++ b/test/Template/Group.mk @@ -87,7 +87,7 @@ TEST_VALGRIND_FILES := $(foreach test,$(TESTS),$(test)/$(VALGRIND_FILE)) # 用例: $(call group_report,name,file_log,file_report) define group_report $(ECHO) '$1: $(SUCCESS_TEST) / $(ALL_TEST) tests passed. Details in $(GROUP_DIR)/$2' >$3 - if $(TEST) $(FAIL_TEST) -eq 0; then $(ECHO) "$1: All tests are succeded." >>$3; fi + if $(TEST) $(FAIL_TEST) -eq 0; then $(ECHO) "$1: All tests are succeeded." >>$3; fi endef # リストで指定したディレクトリーでmakeを実行 diff --git a/test/system/comet2monitor/break_help/cmd b/test/system/comet2monitor/break_help/cmd index 2dc3119..03c2c74 100755 --- a/test/system/comet2monitor/break_help/cmd +++ b/test/system/comet2monitor/break_help/cmd @@ -1 +1 @@ -../../../../comet2monitor