Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4300 - trunk/src/os/unix

Anonymous User
November 18, 2011 01:44PM
Author: maxim
Date: 2011-11-18 18:42:00 +0000 (Fri, 18 Nov 2011)
New Revision: 4300

Log:
FreeBSD 10-current has recently gotten POSIX_FADV_* macros.
A fix for the broken build applied.

Patch from Igor Sysoev.


Modified:
trunk/src/os/unix/ngx_files.c

Modified: trunk/src/os/unix/ngx_files.c
===================================================================
--- trunk/src/os/unix/ngx_files.c 2011-11-18 15:09:08 UTC (rev 4299)
+++ trunk/src/os/unix/ngx_files.c 2011-11-18 18:42:00 UTC (rev 4300)
@@ -464,7 +464,7 @@
}


-#if (NGX_HAVE_POSIX_FADVISE)
+#if (NGX_HAVE_POSIX_FADVISE) && !(NGX_HAVE_F_READAHEAD)

ngx_int_t
ngx_read_ahead(ngx_fd_t fd, size_t n)

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4300 - trunk/src/os/unix

Anonymous User 1103 November 18, 2011 01:44PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready