バグ #2637
KEK版OpenRTMのパッチを反映させる
100%
説明
以下のKEK版パッチが存在する
- OpenRTM-aist-r1971-InPort.h.patch
- OpenRTM-aist-r1971-Makefile.am.patch
- OpenRTM-aist-r1971-RingBuffer.h.patch
- OpenRTM-aist-r1971-Routing.cpp.patch
- OpenRTM-aist-r1971-SimpleService-Makefile.am.patch
- OpenRTM-aist-r1971-coil-posix-Condition.h.patch
対象はOpenRTM-aist-1.0.0-RELEASE
これらについて調査し、本家のコードにパッチを当てる。
関係しているリビジョン
リビジョン 2381
(差分)
リビジョン 2381
(差分)
[compat,header] Now InPort has getStatus()/getStatusList() functions. refs #2637
リビジョン 2382
(差分)
[compat,bugfix] pclose() is not called in Linux code. refs #2637
リビジョン 2382
(差分)
[compat,bugfix] pclose() is not called in Linux code. refs #2637
リビジョン 2383
(差分)
[compat] Condition::wait() wait time calculation became more precise. refs #2637
リビジョン 2383
(差分)
[compat] Condition::wait() wait time calculation became more precise. refs #2637
履歴
#2 n-ando が約11年前に更新
- 進捗率 を 10 から 20 に変更
OpenRTM-aist-r1971-Makefile.am.patch¶
トップレベルのMakefile.amにて、docs以下をビルドしないように修正
-SUBDIRS = build src utils examples etc docs win32 +SUBDIRS = build src utils examples etc win32
実際、docs以下はmake dist時しかdoxygenが呼び出されない。
OpenRTM-aistにおいてmake dist時にドキュメント生成をしない、という選択肢はないので現状のまま。
#3 n-ando が約11年前に更新
- 進捗率 を 20 から 30 に変更
OpenRTM-aist-r1971-RingBuffer.h.patch¶
- advanceWptr() の if文の括弧:trunk->済,
- write() の Guard前後の中括弧とempty: trunk->済, RELEASE_1_1_0->済、RELENG_1_0->済
- read() の Guard前後の中括弧とfull: trunk->済, RELEASE_1_1_0->済、RELENG_1_0->済
ただし、パッチにはないwrite()にGuard eguard(m_empty.mutex);がread()にGuard fguard(m_full.mutex);が追加されている。
[compat,header] Now InPort has getStatus()/getStatusList() functions. refs #2637