[openrtm-users 00726] omniNamesの日本語ログディレクトリ名

1 つの投稿 / 0 new
root
オフライン
Last seen: 22時間 8分 前
登録日: 2009-06-23 14:31
[openrtm-users 00726] omniNamesの日本語ログディレクトリ名

三宅様、OpenRTM-usersの皆様

産総研 安藤です

omniNamesのログディレクトリに日本語パス名を渡すと
うまく起動しない件ですが、静岡大の清水さんに修正方法を
教えていただきました。

こちらでパッチを当ててバイナリを配布するという手もあるのですが、
omniORBのバージョンアップごとにそれを行うのも大変なので、以下のように
omniORBのMLにその件について修正パッチごと投稿しました。

幸い本家のソースに修正を取り込んでもらえそうなので、
次のバージョンからはこの問題は解決しそうです。
それまではFAQの方法でこの問題を回避してください。

清水様、三宅様、栗原様ありがとうございました。

> On Sunday 21 December, "Ando Noriaki" wrote:
>
> [...]
>> Our other user found that the problem does not appear if
>> omniORB\src\appl\omniNames\log.cc
>> was modified as follows.
>>
>> around L405 in omniORB\src\appl\omniNames\log.cc
>> -------------------------------------------
>> try {
>> #ifdef USE_STREAM_OPEN
>> + #ifdef __WIN32__
>> + setlocale(LC_ALL, "");
>> + #endif
>> logf.OPEN(active,ios::out|ios::trunc,0666);
>> if (!logf)
>> throw IOError();
>> -------------------------------------------
>>
>> Setting locale before opening log file seems not to have side
>> effects on both Windows and UNIX. We would be very happy if this
>> modification was taken into the omniORB source code repository.
>
> Thanks. I've applied you patch, except that I moved it to always apply.
> Where you had it it only worked when omniNames was running for the first
> time.
>
> Cheers,
>
> Duncan.
>
> --

未定義

ダウンロード

最新バージョン : 2.0.1-RELESE

統計

Webサイト統計
ユーザ数:2195
プロジェクト統計
RTコンポーネント307
RTミドルウエア35
ツール22
文書・仕様書2

Choreonoid

モーションエディタ/シミュレータ

OpenHRP3

動力学シミュレータ

OpenRTP

統合開発プラットフォーム

産総研RTC集

産総研が提供するRTC集

TORK

東京オープンソースロボティクス協会

DAQ-Middleware

ネットワーク分散環境でデータ収集用ソフトウェアを容易に構築するためのソフトウェア・フレームワーク