mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Update.
2000-12-02 H.J. Lu <hjl@gnu.org> * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of '\0' to wcschr.
This commit is contained in:
parent
00f5fcbb6c
commit
06f55c0c1d
@ -1,3 +1,8 @@
|
||||
2000-12-02 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
|
||||
'\0' to wcschr.
|
||||
|
||||
2000-12-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
|
||||
|
@ -121,11 +121,11 @@ _nl_init_era_entries (void)
|
||||
|
||||
/* Set and skip wide era name. */
|
||||
eras[cnt].era_wname = (wchar_t *) ptr;
|
||||
ptr = (char *) (wcschr ((wchar_t *) ptr, '\0') + 1);
|
||||
ptr = (char *) (wcschr ((wchar_t *) ptr, L'\0') + 1);
|
||||
|
||||
/* Set and skip wide era format. */
|
||||
eras[cnt].era_wformat = (wchar_t *) ptr;
|
||||
ptr = (char *) (wcschr ((wchar_t *) ptr, '\0') + 1);
|
||||
ptr = (char *) (wcschr ((wchar_t *) ptr, L'\0') + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user