From matt.fowles at gmail.com  Tue Apr  5 17:17:30 2016
From: matt.fowles at gmail.com (Matthew Fowles Kulukundis)
Date: Tue, 5 Apr 2016 11:17:30 -0400
Subject: [Rd] [PATCH] fix CHECK_this_length in sprintf.c
Message-ID: <CAApERuYP=0VZqzi-J3cB2zmZNwxhAyR_6GLacHs4zYbjzuzkKA@mail.gmail.com>

All~

CHECK_this_length macro expands to multiple statements making it unsafe to
use in a single line `if` statement (as is happening near line 335).  This
fixes the macro using the standard `do { } while (0)` macro trick.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r-sprintf.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20160405/bbd3947a/attachment.bin>


[Rd] [PATCH] fix CHECK_this_length in sprintf.c
Matthew Fowles Kulukundis