[Groonga-commit] groonga/groonga at 6ca98b5 [master] windows: map ERROR_NO_SYSTEM_RESOURCES to GRN_RESOURCE_TEMPORARILY_UNAVAILABLE

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 12 09:08:06 JST 2017


Kouhei Sutou	2017-07-12 09:08:06 +0900 (Wed, 12 Jul 2017)

  New Revision: 6ca98b59ecdc029099274e3fd57346daeb19082b
  https://github.com/groonga/groonga/commit/6ca98b59ecdc029099274e3fd57346daeb19082b

  Message:
    windows: map ERROR_NO_SYSTEM_RESOURCES to GRN_RESOURCE_TEMPORARILY_UNAVAILABLE

  Modified files:
    lib/error.c

  Modified: lib/error.c (+3 -0)
===================================================================
--- lib/error.c    2017-07-11 23:48:35 +0900 (92bb15c)
+++ lib/error.c    2017-07-12 09:08:06 +0900 (a745dd8)
@@ -114,6 +114,9 @@ grn_windows_error_code_to_rc(int error_code)
   case ERROR_BAD_EXE_FORMAT :
     rc = GRN_EXEC_FORMAT_ERROR;
     break;
+  case ERROR_NO_SYSTEM_RESOURCES :
+    rc = GRN_RESOURCE_TEMPORARILY_UNAVAILABLE;
+    break;
   default:
     rc = GRN_UNKNOWN_ERROR;
     break;
-------------- next part --------------
HTML����������������������������...
Download 



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