error: fix POSIX violation for va_end
commitaad5573e2e307ba42eea5b6b76b0b9788a5eaaec
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Jun 2017 21:08:00 +0000 (1 14:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Jun 2017 21:12:18 +0000 (1 14:12 -0700)
tree5efde45b6e279f0eef945de647b6121dbbdb59cc
parent6ec17baf91bc90fa969f402040f3c15b6e27ac04
error: fix POSIX violation for va_end

Problem reported by Bruno Haible in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00001.html
* lib/error.c (error_tail): Do not call va_end here.
(error, error_at_line): Call it here instead.
ChangeLog
lib/error.c