[Groonga-commit] groonga/groonga at ecd2368 [master] windows: use ngx_fd_t to fix build error

Back to archive index

HAYASHI Kentaro null+****@clear*****
Wed May 27 14:26:37 JST 2015


HAYASHI Kentaro	2015-05-27 14:26:37 +0900 (Wed, 27 May 2015)

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

  Message:
    windows: use ngx_fd_t to fix build error
    
    This change fix following the issue.
    
      In file included from src/core/ngx_core.h:52:0,
                       from /home/kenhys/work/groonga/groonga.clean/packages/windows/tmp/groonga/groonga-5.0.4/src/httpd/nginx-module/ngx_http_groonga_module.c:24:
      src/os/win32/ngx_files.h:110:9: note: expected ‘ngx_fd_t’ but argument is of type ‘int’
       ssize_t ngx_write_fd(ngx_fd_t fd, void *buf, size_t size);

  Modified files:
    src/httpd/nginx-module/ngx_http_groonga_module.c

  Modified: src/httpd/nginx-module/ngx_http_groonga_module.c (+1 -1)
===================================================================
--- src/httpd/nginx-module/ngx_http_groonga_module.c    2015-05-27 10:18:56 +0900 (e3e9a1f)
+++ src/httpd/nginx-module/ngx_http_groonga_module.c    2015-05-27 14:26:37 +0900 (727e65f)
@@ -134,7 +134,7 @@ ngx_str_is_custom_path(ngx_str_t *string)
 }
 
 static void
-ngx_http_groonga_write_fd(int fd,
+ngx_http_groonga_write_fd(ngx_fd_t fd,
                           u_char *buffer, size_t buffer_size,
                           const char *message, size_t message_size)
 {
-------------- next part --------------
HTML����������������������������...
Download 



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