Revision 69707d616fd3acda6ecc47198edeaaa87f2cfcea authored by Jay Soffian on 25 February 2009, 08:28:15 UTC, committed by Junio C Hamano on 25 February 2009, 21:58:57 UTC
This patch allows the HTTP tests to run on OS X 10.5. It is not sufficient to be able to pass in LIB_HTTPD_PATH and LIB_HTTPD_MODULE_PATH alone, as the apache.conf also needs a couple tweaks. These changes are put into an <IfDefine> to keep them Darwin specific, but this means lib-httpd.sh needs to be modified to pass -DDarwin to apache when running on Darwin. As long as we're making this change to lib-httpd.sh, we may as well set LIB_HTTPD_PATH and LIB_HTTPD_MODULE_PATH to appropriate default values for the platform. Note that we now pass HTTPD_PARA to apache at shutdown as well. Otherwise apache will emit a harmless, but noisy warning that LogFormat is an unknown directive. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3dbe116
File | Mode | Size |
---|---|---|
fnmatch | ||
regex | ||
cygwin.c | -rw-r--r-- | 4.8 KB |
cygwin.h | -rw-r--r-- | 275 bytes |
fopen.c | -rw-r--r-- | 931 bytes |
hstrerror.c | -rw-r--r-- | 513 bytes |
inet_ntop.c | -rw-r--r-- | 4.9 KB |
inet_pton.c | -rw-r--r-- | 6.9 KB |
memmem.c | -rw-r--r-- | 668 bytes |
mingw.c | -rw-r--r-- | 22.7 KB |
mingw.h | -rw-r--r-- | 5.5 KB |
mkdtemp.c | -rw-r--r-- | 152 bytes |
mmap.c | -rw-r--r-- | 747 bytes |
pread.c | -rw-r--r-- | 433 bytes |
qsort.c | -rw-r--r-- | 1.1 KB |
setenv.c | -rw-r--r-- | 786 bytes |
snprintf.c | -rw-r--r-- | 1.1 KB |
strcasestr.c | -rw-r--r-- | 431 bytes |
strlcpy.c | -rw-r--r-- | 247 bytes |
strtoumax.c | -rw-r--r-- | 217 bytes |
unsetenv.c | -rw-r--r-- | 558 bytes |
win32.h | -rw-r--r-- | 774 bytes |
winansi.c | -rw-r--r-- | 6.6 KB |
Computing file changes ...