From ffcf96345f519a1a557b019271d4a62ec40f7eaa Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 28 Mar 1996 09:48:58 +0000 Subject: Thu Mar 28 03:00:43 1996 Roland McGrath * 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. --- locale/nl_langinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'locale/nl_langinfo.c') 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; } -- cgit v1.2.1