mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Call __ctype_init in early glibc startup.
This adds the bits missing from fd5bdc0924
.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Initialization code run first thing by the ELF startup code. Stub version.
|
||||
Copyright (C) 1995, 1997, 1998, 2001, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2012 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
|
||||
@ -16,6 +16,7 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@ -55,4 +56,7 @@ void __libc_init_first
|
||||
/* This is a hack to make the special getopt in GNU libc working. */
|
||||
__getopt_clean_environment (envp);
|
||||
#endif
|
||||
|
||||
/* Initialize ctype data. */
|
||||
__ctype_init ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user