mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
2005-01-14 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>. * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call. * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997,1999,2000,2001,2002,2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997,1999,2000-2003,2005 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@@ -324,9 +324,6 @@ internal_addseverity (int severity, const char *string)
|
||||
|
||||
if (runp != NULL)
|
||||
{
|
||||
/* Release old string. */
|
||||
free ((char *) runp->string);
|
||||
|
||||
if (string != NULL)
|
||||
/* Change the string. */
|
||||
runp->string = string;
|
||||
|
Reference in New Issue
Block a user