This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

strftime_l and NULL


Hi List,
i was playing with strftime().
Man pages:
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/strftime_l.3.html
http://www.opengroup.org/onlinepubs/9699919799/functions/strftime_l.html

In apples xlocale.h is writte: "If a NULL locale_t is passed, the C locale will be used."

With glibc2.10 i get a segfault, is this intentional ?

re,
 wh

used version:

 /lib/libc.so.6
GNU C Library stable release version 2.10.1 (20090918), by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i686-suse-linux.
Compiled by GNU CC version 4.4.1 [gcc-4_4-branch revision 150839].
Compiled on a Linux 2.6.31 system on 2009-10-26.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        NoVersion patch for broken glibc 2.0 binaries
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]