mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
Update.
2002-04-02 Ulrich Drepper <drepper@redhat.com> * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer to ... * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
This commit is contained in:
parent
f7ddf3d3b7
commit
44c4ccbcca
@ -1,3 +1,9 @@
|
||||
2002-04-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer
|
||||
to ...
|
||||
* libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
|
||||
|
||||
2002-04-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function.
|
||||
|
@ -177,6 +177,8 @@ _IO_new_file_close_it (fp)
|
||||
#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
|
||||
else
|
||||
{
|
||||
if (_IO_have_wbackup (fp))
|
||||
INTUSE(_IO_free_wbackup_area) (fp);
|
||||
INTUSE(_IO_wsetb) (fp, NULL, NULL, 0);
|
||||
_IO_wsetg (fp, NULL, NULL, NULL);
|
||||
_IO_wsetp (fp, NULL, NULL);
|
||||
|
@ -76,9 +76,6 @@ _IO_new_fclose (fp)
|
||||
__gconv_release_step (cc->__cd_in.__cd.__steps);
|
||||
__gconv_release_step (cc->__cd_out.__cd.__steps);
|
||||
#endif
|
||||
|
||||
if (_IO_have_wbackup (fp))
|
||||
INTUSE(_IO_free_wbackup_area) (fp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user