[base] Don't close 'stderr' after logging.
* src/base/ftdebug.c, builds/windows/ftdebug.c (ft_logging_deinit): Fix it.
This commit is contained in:
parent
c764686bc9
commit
74822f64b0
@ -1,3 +1,10 @@
|
||||
2020-12-02 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[base] Don't close 'stderr' after logging.
|
||||
|
||||
* src/base/ftdebug.c, builds/windows/ftdebug.c (ft_logging_deinit):
|
||||
Fix it.
|
||||
|
||||
2020-12-02 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* submodules/dlg: Updated to commit 9f0c8b22.
|
||||
|
@ -452,7 +452,8 @@
|
||||
FT_BASE_DEF( void )
|
||||
ft_logging_deinit( void )
|
||||
{
|
||||
ft_fclose( ft_fileptr );
|
||||
if ( ft_fileptr != stderr )
|
||||
ft_fclose( ft_fileptr );
|
||||
}
|
||||
|
||||
|
||||
|
@ -439,7 +439,8 @@
|
||||
FT_BASE_DEF( void )
|
||||
ft_logging_deinit( void )
|
||||
{
|
||||
ft_fclose( ft_fileptr );
|
||||
if ( ft_fileptr != stderr )
|
||||
ft_fclose( ft_fileptr );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user