[PATCH] git-save: improve commit authorship data

Linus Torvalds torvalds at linux-foundation.org
Mon Apr 14 15:58:57 PDT 2014


On Mon, Apr 14, 2014 at 3:53 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> On Mon, 2014-04-14 at 14:41 -0700, Linus Torvalds wrote:
>> +             const char hostname[64];

Ugh, yes, that "const" is bogus. It was "const char *" with a helper
function in an earlier incantation, and then I made it a direct array
and the "const" stayed around.

> clang seems to think this is naughty:

gcc has too, I obviously never even compiled the last version.

Just remove the "const", and it should be ok. Sorry about that,

            Linus


More information about the subsurface mailing list