This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Tue, Aug 14, 2001 at 01:41:55PM +0200, Andreas Jaeger wrote: > Since we use in inet_ntoa now thread specific memory static_buf is > never dynamically allocated and therefore should not be freed. grep is your friend: 2001-08-14 Jakub Jelinek <jakub@redhat.com> * string/strsignal.c (free_mem): Remove. --- libc/string/strsignal.c.jj Mon Jul 9 14:57:53 2001 +++ libc/string/strsignal.c Tue Aug 14 07:51:43 2001 @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,94,95,96,97,98,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994-2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -130,11 +130,3 @@ getbuffer (void) return result; } - - -static void -free_mem (void) -{ - free (static_buf); -} -text_set_element (__libc_subfreeres, free_mem); Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |