1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

'finalization_thread_proc' sets errno before calling 'perror'.

* libguile/finalizers.c (finalization_thread_proc): Set 'errno' before
calling 'perror'.
This commit is contained in:
Ludovic Courtès 2020-04-26 16:29:31 +02:00
parent d3d7696072
commit 1fbe89f7bd

View file

@ -1,4 +1,4 @@
/* Copyright 2012-2014,2018-2019
/* Copyright 2012-2014,2018-2020
Free Software Foundation, Inc.
This file is part of Guile.
@ -221,6 +221,7 @@ finalization_thread_proc (void *unused)
{
if (data.err != EINTR)
{
errno = data.err;
perror ("error in finalization thread");
return NULL;
}