vasnprintf: Don't set errno to 0.
authorBruno Haible <bruno@clisp.org>
Fri, 15 Oct 2010 00:01:51 +0000 (02:01 +0200)
committerIan Beckwith <ianb@erislabs.net>
Sat, 23 Oct 2010 22:03:40 +0000 (23:03 +0100)
commitced7fa157d3f298c2ddcd3ad21bfa9cbc2b38d4f
tree31531a00d04554f1cb6beb082714d2eec4c123e9
parent769da91bf5bcd63f9548af5cdc0f4b087090ee05
vasnprintf: Don't set errno to 0.

* lib/vasnprintf.c (VASNPRINTF): Save and restore errno around the
block that sets it to 0.
Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
(cherry picked from commit d239853d024ca8fdc9fd719c75025020611ff5a1)
ChangeLog
lib/vasnprintf.c