]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
IkiWiki::Receive: Avoid using asprintf
authorSimon McVittie <smcv@debian.org>
Sat, 30 Sep 2017 16:14:34 +0000 (17:14 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 1 Oct 2017 12:21:56 +0000 (13:21 +0100)
commitcf7df018ccf5513b79bcfe0b108e348b6da341c1
treeeb8a8ebf31abec4ccde14aa97f28ca314ef5f044
parent14344f58f08b6868daf7f80eab1b12682f3740f0
IkiWiki::Receive: Avoid using asprintf

On GNU/Linux, it isn't declared in stdio.h unless we define
_GNU_SOURCE, which we don't; using the implicit declaration risks
crashes on platforms where sizeof(pointer) != sizeof(int). On other
platforms it isn't guaranteed to exist at all.

Signed-off-by: Simon McVittie <smcv@debian.org>
IkiWiki/Receive.pm