[Glibc-bsd-commits] r4411 - trunk/glibc-ports/kfreebsd
Aurelien Jarno
aurel32 at alioth.debian.org
Tue May 7 23:21:35 UTC 2013
Author: aurel32
Date: 2013-05-07 23:21:35 +0000 (Tue, 07 May 2013)
New Revision: 4411
Modified:
trunk/glibc-ports/kfreebsd/init-first.c
Log:
Call __ctype_init in early glibc startup, as in upstream commit 228c019e6336d6da448715a1c5fcca9771827f61
Modified: trunk/glibc-ports/kfreebsd/init-first.c
===================================================================
--- trunk/glibc-ports/kfreebsd/init-first.c 2013-05-07 22:25:57 UTC (rev 4410)
+++ trunk/glibc-ports/kfreebsd/init-first.c 2013-05-07 23:21:35 UTC (rev 4411)
@@ -17,6 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
@@ -115,6 +116,9 @@
__getopt_clean_environment (envp);
#endif
+ /* Initialize ctype data. */
+ __ctype_init ();
+
#if defined SHARED && !defined NO_CTORS_DTORS_SECTIONS
__libc_global_ctors ();
#endif
More information about the Glibc-bsd-commits
mailing list