Ticket #46391

「&u」「&p」「&h」 はログファイルの名前に反映されない

Date d'ouverture: 2022-12-30 23:17 Dernière mise à jour: 2023-01-13 01:05

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Jalon:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

確認: trunk/r10443

「&u」「&h」 はプレビューで表示されますが、ログファイルの名前には反映されないようです。

※Bluetooth経由のUART接続でしか見ていないので「&p」は未確認だけどログ開始画面で&pのまま表示されるのでたぶん反映されない。

コマンドラインで /L="&u&h&p" 指定しても「&u」「&h」「&p」は反映されない。

4-stable/r10441 では、ログ開始画面で反映されている。コマンドラインからも反映される。

Ticket History (3/4 Histories)

2022-12-30 23:17 Updated by: tomo3136
  • New Ticket "「&u」「&p」「&h」 はログファイルの名前に反映されない" created
2022-12-31 07:16 Updated by: tomo3136
Commentaire

addsetting.cpp の 165行目 CLogPropPageDlg::CreateLogFilename() 関数で、replaceInvalidFileNameCharW() が、ConvertLognameW() より前にあるのがいけなかったようです。

r10444 で関数名も含めて大きく書き換えられた結果、表示されるようになりました。(ログ開始画面の場合も、コマンドラインで指定した場合も)

2023-01-09 23:27 Updated by: nmaya
2023-01-13 01:05 Updated by: zmatsuo
  • État Update from Ouvert to Atteints
  • Propriétaire Update from (Aucun) to zmatsuo
  • Résolution Update from Aucun to Fixed
Commentaire

クローズします。

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion