Quantcast
Channel: All Open Tickets - Tera Term on OSDN
Viewing all articles
Browse latest Browse all 2128

sprintf2 - Tera Term Ticket #40242 on OSDN

$
0
0

sprintf2

Eröffnet am: 2020-03-10 01:05

Letztes Update: 2020-03-10 01:58

Auswertung:(Anonym)Verantwortlicher:(Keine)
Priorität:5 - MittelMeilenstein:(Keine)
Typ:FehlerSchweregrad:5 - Mittel
Komponente:Tera Term MacroStatus:Offen
LösungKeine

Einzelheiten

The sprintf2 command, when duplicated arguments are used, is seen to occasionally use 1 instead of 0 for the first argument value. An example:

foo = 0
sprintf2 bar '00 %s 00 00 %s 00' foo foo
bar becomes '00 01 00 00 00 00'

Below a workaround. I've gone for Medium for Priority and Milestone as can be worked around as below.

foo = 0
foo2 = foo
sprintf2 bar '00 %s 00 00 %s 00'  foo foo2
bar becomes '00 00 00 00 00 00'

Unknown, is whether the observed issue is more general. For example, affecting multiple arguments, with problem seen with first argument, or perhaps all bar last argument. And/or affecting different intended and/or seen values, as well as just respective 0 and 1. And perhaps affecting sprintf command too.

Letzte Aktualisierung für dieses Ticket

2020-03-10 01:58 Aktualisiert von: doda

Kommentar

(匿名)への返信

foo = '00'
sprintf2 bar '00 %s 00 00 %s 00' foo foo
bar becomes '00 01 00 00 00 00'

Not reproduced.

Which version are you using?


Viewing all articles
Browse latest Browse all 2128