aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-28 09:48:58 +0000
committerRoland McGrath <roland@gnu.org>1996-03-28 09:48:58 +0000
commitffcf96345f519a1a557b019271d4a62ec40f7eaa (patch)
tree7038c77b3f6be934c42d8e210f7fd651e2b4176b /locale
parent0393dfd6c22d4f3bb61c4650e4c22e87026b19bd (diff)
downloadglibc-ffcf96345f519a1a557b019271d4a62ec40f7eaa.tar
glibc-ffcf96345f519a1a557b019271d4a62ec40f7eaa.tar.gz
glibc-ffcf96345f519a1a557b019271d4a62ec40f7eaa.tar.bz2
glibc-ffcf96345f519a1a557b019271d4a62ec40f7eaa.zip
Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>cvs/libc-960328
* locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of DATA->strings. * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h. * configure.in (.weakext check): Fix asm code to use .weakext instead of .weak! Fix bogus test calls. * configure: Regenerated.
Diffstat (limited to 'locale')
-rw-r--r--locale/nl_langinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/nl_langinfo.c b/locale/nl_langinfo.c
index 83d35dcb70..a9fa4238c2 100644
--- a/locale/nl_langinfo.c
+++ b/locale/nl_langinfo.c
@@ -1,5 +1,5 @@
/* nl_langinfo -- User interface for extracting locale-dependent parameters.
-Copyright (C) 1995 Free Software Foundation, Inc.
+Copyright (C) 1995, 1996 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
@@ -62,5 +62,5 @@ nl_langinfo (item)
}
/* Return the string for the specified item. */
- return (char *) data->strings[index];
+ return (char *) data->values[index].string;
}