about summary refs log tree commit diff
path: root/posix/regcomp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-12-14 03:54:07 +0000
committerUlrich Drepper <drepper@redhat.com>2007-12-14 03:54:07 +0000
commitbc3e1c127392da88d0c8bf2ae728147982a3d1bc (patch)
treea7f2e7c9d9f1396438c4f74e9d727d9c731ffed2 /posix/regcomp.c
parent3eb0e1c6d6259c1d8db0859589a5ca67e3cac8e2 (diff)
downloadglibc-bc3e1c127392da88d0c8bf2ae728147982a3d1bc.tar.gz
glibc-bc3e1c127392da88d0c8bf2ae728147982a3d1bc.tar.xz
glibc-bc3e1c127392da88d0c8bf2ae728147982a3d1bc.zip
* locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l.
	* locale/nl_langinfo_l.c: Real implementation, copied from
	nl_langinfo.c.
	* include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l.
Diffstat (limited to 'posix/regcomp.c')
-rw-r--r--posix/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 1de46d72ed..f4eab3adbd 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -1030,7 +1030,7 @@ optimize_utf8 (re_dfa_t *dfa)
 	  mb_chars = 1;
 	break;
       case ANCHOR:
-	switch (dfa->nodes[node].opr.ctx_index)
+	switch (dfa->nodes[node].opr.ctx_type)
 	  {
 	  case LINE_FIRST:
 	  case LINE_LAST: