mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-05 14:48:00 +02:00
[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
3 changed files with 11 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue