[前][次][番号順一覧][スレッド一覧]

ruby-changes:28468

From: naruse <ko1@a...>
Date: Mon, 29 Apr 2013 17:05:25 +0900 (JST)
Subject: [ruby-changes:28468] naruse:r40520 (trunk): * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.

naruse	2013-04-29 17:05:13 +0900 (Mon, 29 Apr 2013)

  New Revision: 40520

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40520

  Log:
    * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
      [Feature #8338]

  Modified files:
    trunk/ChangeLog
    trunk/ext/nkf/nkf-utf8/nkf.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40519)
+++ ChangeLog	(revision 40520)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Apr 29 17:02:30 2013  NARUSE, Yui  <naruse@r...>
+
+	* ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
+	  [Feature #8338]
+
+
 Mon Apr 29 06:58:30 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for
Index: ext/nkf/nkf-utf8/nkf.h
===================================================================
--- ext/nkf/nkf-utf8/nkf.h	(revision 40519)
+++ ext/nkf/nkf-utf8/nkf.h	(revision 40520)
@@ -2,7 +2,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/nkf/nkf-utf8/nkf.h#L2
  *
  * nkf.h - Header file for nkf
  * 
- * $Id$
  */
 
 #ifndef NKF_H
@@ -153,6 +152,7 @@ void  setbinmode(FILE *fp) https://github.com/ruby/ruby/blob/trunk/ext/nkf/nkf-utf8/nkf.h#L152
 # ifndef HAVE_LOCALE_H
 #  define HAVE_LOCALE_H
 # endif
+#elif defined(__BIONIC__) /* bionic doesn't have locale */
 #else
 # ifndef HAVE_LANGINFO_H
 #  define HAVE_LANGINFO_H

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]