bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Possible bug in do_printf


From: Elias Mårtenson
Subject: [Bug-apl] Possible bug in do_printf
Date: Sun, 12 Jan 2014 20:12:35 +0800

In my work to eliminate all compile warnings, I found this one:

In file_io.cc, line 186, the following code can be found:

const Unicode cv =
            A->get_ravel(a++).get_char_value();
UCS_string ucs(un1);
UTF8_string utf(ucs);
fwrite(utf.c_str(), 1, utf.size(), out); 
++out_len;

The variable ucs should probably be initialised with "cv", not "un1".

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]