comparison src/os/unix/ngx_alloc.c @ 469:2ff194b74f1e release-0.1.9

nginx-0.1.9-RELEASE import *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Nov 2004 16:17:31 +0000
parents a88a3e4e158f
children d4ea69372b94
comparison
equal deleted inserted replaced
468:1a67596d0349 469:2ff194b74f1e
38 38
39 return p; 39 return p;
40 } 40 }
41 41
42 42
43 #if (HAVE_POSIX_MEMALIGN) 43 #if (NGX_HAVE_POSIX_MEMALIGN)
44 44
45 void *ngx_memalign(size_t alignment, size_t size, ngx_log_t *log) 45 void *ngx_memalign(size_t alignment, size_t size, ngx_log_t *log)
46 { 46 {
47 void *p; 47 void *p;
48 48
56 "posix_memalign: %p:%uz", p, size); 56 "posix_memalign: %p:%uz", p, size);
57 57
58 return p; 58 return p;
59 } 59 }
60 60
61 #elif (HAVE_MEMALIGN) 61 #elif (NGX_HAVE_MEMALIGN)
62 62
63 void *ngx_memalign(size_t alignment, size_t size, ngx_log_t *log) 63 void *ngx_memalign(size_t alignment, size_t size, ngx_log_t *log)
64 { 64 {
65 void *p; 65 void *p;
66 66