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

ruby-changes:29967

From: akr <ko1@a...>
Date: Wed, 17 Jul 2013 12:31:56 +0900 (JST)
Subject: [ruby-changes:29967] akr:r42019 (trunk): * include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.

akr	2013-07-17 12:31:44 +0900 (Wed, 17 Jul 2013)

  New Revision: 42019

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

  Log:
    * include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.
      (st_strncasecmp): Ditto.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/st.h

Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 42018)
+++ include/ruby/st.h	(revision 42019)
@@ -121,6 +121,8 @@ int st_numcmp(st_data_t, st_data_t); https://github.com/ruby/ruby/blob/trunk/include/ruby/st.h#L121
 st_index_t st_numhash(st_data_t);
 int st_locale_insensitive_strcasecmp(const char *s1, const char *s2);
 int st_locale_insensitive_strncasecmp(const char *s1, const char *s2, size_t n);
+#define st_strcasecmp st_locale_insensitive_strcasecmp
+#define st_strncasecmp st_locale_insensitive_strncasecmp
 size_t st_memsize(const st_table *);
 st_index_t st_hash(const void *ptr, size_t len, st_index_t h);
 st_index_t st_hash_uint32(st_index_t h, uint32_t i);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42018)
+++ ChangeLog	(revision 42019)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jul 17 12:30:05 2013  Tanaka Akira  <akr@f...>
+
+	* include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.
+	  (st_strncasecmp): Ditto.
+
 Wed Jul 17 11:57:45 2013  Takeyuki FUJIOKA  <xibbar@r...>
 
 	* lib/cgi/util.rb (CGI::Util#escape, unescape): Avoid use of regexp

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

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