aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_alloc.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-30 12:34:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-30 12:34:04 +0000
commit385af286421e983f744f7f5d339b8060ccd36302 (patch)
tree81c46d0dad40506cc3a331c6ffaf454da85a0177 /src/os/unix/ngx_alloc.h
parent749449097847cc3bee9e4e3966122a94149b755b (diff)
downloadnginx-385af286421e983f744f7f5d339b8060ccd36302.tar.gz
nginx-385af286421e983f744f7f5d339b8060ccd36302.zip
directio
Diffstat (limited to 'src/os/unix/ngx_alloc.h')
-rw-r--r--src/os/unix/ngx_alloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_alloc.h b/src/os/unix/ngx_alloc.h
index 8b7b766b2..c7a31aa54 100644
--- a/src/os/unix/ngx_alloc.h
+++ b/src/os/unix/ngx_alloc.h
@@ -21,8 +21,8 @@ void *ngx_calloc(size_t size, ngx_log_t *log);
/*
* Linux has memalign() or posix_memalign()
* Solaris has memalign()
- * FreeBSD has not memalign() or posix_memalign() but its malloc() alignes
- * allocations bigger than page size at the page boundary.
+ * FreeBSD 7.0 has posix_memalign(), besides, early version's malloc()
+ * aligns allocations bigger than page size at the page boundary
*/
#if (NGX_HAVE_POSIX_MEMALIGN || NGX_HAVE_MEMALIGN)