mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
936af4387d
patch-au corrects a problem when either ResourceConfig/AccessConfig is set to the apache configuration file (${PREFIX}/etc/apache/httpd.conf). Without this patch, if you set the apache server to listen to alterate ports the server would fail to start and the error log would contain: [crit] (48)Address already in use: make_sock: could not bind to port 8000 ResourceConfig/AccessConfig can't be set to /dev/null. The fpsrvadm.exe will not be able to obtain the DocumnetRoot from the ResourceConfig file (/dev/null). PR: 13673 Submitted by: maintainer
12 lines
291 B
Plaintext
12 lines
291 B
Plaintext
--- src/main/util.c.orig Sat Aug 14 03:35:50 1999
|
|
+++ src/main/util.c Mon Sep 6 13:12:55 1999
|
|
@@ -635,7 +635,7 @@
|
|
char *res;
|
|
|
|
for (x = 0; (*line)[x]; x++) {
|
|
- if (ap_isspace((*line)[x])) {
|
|
+ if (ap_isspace((*line)[x]) && ((*line)[x] & 0x80)==0) {
|
|
pos = x;
|
|
break;
|
|
}
|