commit | de1fa7e60d3d179a1b67c47a0429b2d0ac4e4842 | [log] [tgz] |
---|---|---|
author | Christopher Li <sparse@chrisli.org> | Thu Feb 05 21:45:15 2015 -0800 |
committer | Christopher Li <sparse@chrisli.org> | Fri Feb 06 05:46:48 2015 -0800 |
tree | a85f7e3aade9c65addc480fb993d882b4e4cdfdc | |
parent | 1a900d9f37bb060329274970b25753181ce14223 [diff] |
Make macro expanded string immutable The string is shared between different macro expand. It is wrong to modify the string in place if the string is used in a macro. Avoid overwriting the string in that case. Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Tested-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>