mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add support for XPG7 testing.
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995,96,97,2002, 2004, 2007 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-1997,2002,2004,2007,2010 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Written by Ulrich Drepper <drepper@gnu.org>, 1995.
|
||||
|
||||
@ -48,7 +48,7 @@ STRCOLL (s1, s2, l)
|
||||
const STRING_TYPE *s2;
|
||||
__locale_t l;
|
||||
{
|
||||
struct locale_data *current = l->__locales[LC_COLLATE];
|
||||
struct __locale_data *current = l->__locales[LC_COLLATE];
|
||||
uint_fast32_t nrules = current->values[_NL_ITEM_INDEX (_NL_COLLATE_NRULES)].word;
|
||||
/* We don't assign the following values right away since it might be
|
||||
unnecessary in case there are no rules. */
|
||||
|
Reference in New Issue
Block a user