+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.
+
2005-01-12 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
/* Extended regular expression matching and search library.
- Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
codeset_name = nl_langinfo (CODESET);
# else
codeset_name = getenv ("LC_ALL");
- if (codeset_name == NULL || codeset[0] == '\0')
+ if (codeset_name == NULL || codeset_name[0] == '\0')
codeset_name = getenv ("LC_CTYPE");
- if (codeset_name == NULL || codeset[0] == '\0')
+ if (codeset_name == NULL || codeset_name[0] == '\0')
codeset_name = getenv ("LANG");
if (codeset_name == NULL)
codeset_name = "";
&& so->nodes[node->left->node_idx].type == OP_OPEN_SUBEXP
? depth + 1 : 0;
node->right = optimize_subexps (so, node->right, sidx, new_depth);
-
+
if (node->type != CONCAT)
return node;
if ((depth & 1) == 0
-/* 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.
if (runp != NULL)
{
- /* Release old string. */
- free ((char *) runp->string);
-
if (string != NULL)
/* Change the string. */
runp->string = string;