[PATCH] Avoid side effects in putc(), which may be implemented as a macro

Dan Fandrich dan at coneharvesters.com
Wed Sep 8 16:18:37 UTC 2010


On Wed, Sep 08, 2010 at 02:24:02PM +0200, Denys Vlasenko wrote:
> Please, do not convert it to for(). I like while().

Ok.

> This definitely looks wrong. You need to add {}s.

Whoops--missed that.  Here's an amended patch.

>>> Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avoid-side-effects-in-putc-which-may-be-implement.patch
Type: text/x-patch
Size: 1982 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100908/7f5f4a0f/attachment.bin>


More information about the busybox mailing list