On Sun, Jun 26, 2016 at 5:06 AM, Michael D. Setzer II
<[email protected]> wrote:
> Posted an earlier message about changes in 1.25.0.
> At the time, I didn't find mention of these in the changes listed, but didn't
> know that it was the change from using bb_info_msg to bb_error_msg that
> was change output to go to stderr instead of stdout. Noticed that other
> changes have bb_info_msg going to printf? So, what was the problem with
> bb_info_msg that it needed to be changed?

bb_info_msg() had only a handful of users, so it looked inconsistent:
"if most applets can live without it, maybe all of them could?"

> And why where some changes
> to printf and other to bb_error_msg?? Also, noted a major changes in the
> text, where before they started with a capital letter, but now are all lower
> case?

Logging messages almost everywhere were emitted via bb_error_msg.
Thus, bb_info_msg's which were emitting log messages were converted
to bb_error_msg. Since bb_error_msg prefixes applet name,
capitalization was changed.

bb_info_msg's which emitted other messages were converted to printfs,
IOW: no change in functionality (still goes to stdout, still not prefixed).
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to