From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7199 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: libintl: stubs or working functions? Date: Mon, 16 Mar 2015 14:41:56 +0100 Message-ID: <20150316134156.GZ16260@port70.net> References: <20150305163649.05a14b30@sibserver.ru> <20150306222415.GR23507@brightrain.aerifal.cx> <20150308162249.163d5212@r2lynx> <20150309005636.GY23507@brightrain.aerifal.cx> <20150315193339.3b36e135@r2lynx> <20150315235418.GU23507@brightrain.aerifal.cx> <20150316111846.5ce6a90e@r2lynx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1426513339 18294 80.91.229.3 (16 Mar 2015 13:42:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 13:42:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7212-gllmg-musl=m.gmane.org@lists.openwall.com Mon Mar 16 14:42:18 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YXVHW-00062i-MQ for gllmg-musl@m.gmane.org; Mon, 16 Mar 2015 14:42:10 +0100 Original-Received: (qmail 15595 invoked by uid 550); 16 Mar 2015 13:42:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15570 invoked from network); 16 Mar 2015 13:42:08 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20150316111846.5ce6a90e@r2lynx> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7199 Archived-At: * ???????? [2015-03-16 11:18:46 +0700]: > I have this test program: > > % cat dt.c > #include > #include > > int main(void) > { > char x[32]; > struct tm *tm; > time_t t; > > t = time(NULL); > tm = localtime(&t); > strftime(x, sizeof(x), "%x", tm); > printf("%s\n", x); > > return 0; > } > i think you need to call setlocale(LC_ALL, "")