[PATCH] Fix strsignal
Jakub Jelinek
jakub@redhat.com
Tue Aug 14 05:17:00 GMT 2001
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
More information about the Libc-hacker
mailing list