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:
parent
d3d7696072
commit
1fbe89f7bd
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue