vasnprintf: Don't set errno to 0.
authorBruno Haible <bruno@clisp.org>
Fri, 15 Oct 2010 00:01:51 +0000 (02:01 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 15 Oct 2010 00:01:51 +0000 (02:01 +0200)
commitd239853d024ca8fdc9fd719c75025020611ff5a1
tree2d56b6521a70a680f256da47d9eafcf4e362fc7c
parent74b1e486adf1e701ab282f4c0bfc6db0aa128416
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>.
ChangeLog
lib/vasnprintf.c