[Groonga-commit] groonga/groonga at e3f97a7 [master] mrb: fix LZ4 form in constant name

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Feb 3 22:35:11 JST 2015


Kouhei Sutou	2015-02-03 22:35:11 +0900 (Tue, 03 Feb 2015)

  New Revision: e3f97a731951dddd9bd2a9ddf7e3a1e91606f733
  https://github.com/groonga/groonga/commit/e3f97a731951dddd9bd2a9ddf7e3a1e91606f733

  Message:
    mrb: fix LZ4 form in constant name

  Modified files:
    lib/mrb/mrb_ctx.c
    lib/mrb/mrb_error.c
    lib/mrb/scripts/context/rc.rb

  Modified: lib/mrb/mrb_ctx.c (+1 -1)
===================================================================
--- lib/mrb/mrb_ctx.c    2015-02-03 22:18:03 +0900 (33c7581)
+++ lib/mrb/mrb_ctx.c    2015-02-03 22:35:11 +0900 (6de7cee)
@@ -621,7 +621,7 @@ grn_mrb_ctx_check(mrb_state *mrb)
              ctx->errbuf, ctx->rc);
     break;
   case GRN_LZ4_ERROR:
-    error_class = mrb_class_get_under(mrb, module, "Lz4Error");
+    error_class = mrb_class_get_under(mrb, module, "LZ4Error");
     snprintf(message, MESSAGE_SIZE,
              "LZ4 error: <%s>(%d)",
              ctx->errbuf, ctx->rc);

  Modified: lib/mrb/mrb_error.c (+1 -1)
===================================================================
--- lib/mrb/mrb_error.c    2015-02-03 22:18:03 +0900 (a8ff994)
+++ lib/mrb/mrb_error.c    2015-02-03 22:35:11 +0900 (a3513be)
@@ -160,7 +160,7 @@ grn_mrb_error_init(grn_ctx *ctx)
                          groonga_error_class);
   mrb_define_class_under(mrb, module, "ZlibError",
                          groonga_error_class);
-  mrb_define_class_under(mrb, module, "Lz4Error",
+  mrb_define_class_under(mrb, module, "LZ4Error",
                          groonga_error_class);
   mrb_define_class_under(mrb, module, "StackOverFlow",
                          groonga_error_class);

  Modified: lib/mrb/scripts/context/rc.rb (+1 -1)
===================================================================
--- lib/mrb/scripts/context/rc.rb    2015-02-03 22:18:03 +0900 (9f2ff07)
+++ lib/mrb/scripts/context/rc.rb    2015-02-03 22:35:11 +0900 (f06b32d)
@@ -153,7 +153,7 @@ module Groonga
       ZLIB_ERROR =
         register(:zlib_error, -60, ZlibError)
       LZ4_ERROR =
-        register(:lz4_error, -61, Lz4Error)
+        register(:lz4_error, -61, LZ4Error)
       STACK_OVER_FLOW =
         register(:stack_over_flow, -62, StackOverFlow)
       SYNTAX_ERROR =
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index