aboutsummaryrefslogtreecommitdiff
path: root/russian/apache13
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2003-10-23 12:14:17 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2003-10-23 12:14:17 +0000
commitcd5cf9264b068615251abc7527c61a1f88f2b331 (patch)
treeb2d5e27fd17ba3fbf231454701f0dfb2603923f3 /russian/apache13
parent7afdaa1a438e006522559762cfb7df77353aa57c (diff)
downloadports-cd5cf9264b068615251abc7527c61a1f88f2b331.tar.gz
ports-cd5cf9264b068615251abc7527c61a1f88f2b331.zip
Notes
Diffstat (limited to 'russian/apache13')
-rw-r--r--russian/apache13/Makefile1
-rw-r--r--russian/apache13/files/patch-src::main::alloc.c25
2 files changed, 26 insertions, 0 deletions
diff --git a/russian/apache13/Makefile b/russian/apache13/Makefile
index 8d31c43bafe2..f57eaab92b09 100644
--- a/russian/apache13/Makefile
+++ b/russian/apache13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= ${APACHE_VERSION}+${RA_VERSION}
+PORTREVISION= 1
CATEGORIES= russian www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= ${PORTNAME}_${APACHE_VERSION}
diff --git a/russian/apache13/files/patch-src::main::alloc.c b/russian/apache13/files/patch-src::main::alloc.c
new file mode 100644
index 000000000000..08ab0e343b75
--- /dev/null
+++ b/russian/apache13/files/patch-src::main::alloc.c
@@ -0,0 +1,25 @@
+Index: src/main/alloc.c
+===================================================================
+RCS file: /home/cvs/apache-1.3/src/main/alloc.c,v
+retrieving revision 1.145
+retrieving revision 1.146
+diff -u -r1.145 -r1.146
+--- src/main/alloc.c 20 Jun 2003 15:05:40 -0000 1.145
++++ src/main/alloc.c 2 Sep 2003 18:17:05 -0000 1.146
+@@ -2859,12 +2859,10 @@
+ if ((p->kill_how == kill_after_timeout)
+ || (p->kill_how == kill_only_once)) {
+ /* Subprocess may be dead already. Only need the timeout if not. */
+- if (ap_os_kill(p->pid, SIGTERM) == -1) {
+- p->kill_how = kill_never;
+- }
+- else {
+- need_timeout = 1;
+- }
++ if ( (ap_os_kill(p->pid, SIGTERM) == -1) && (errno == ESRCH) )
++ p->kill_how = kill_never;
++ else
++ need_timeout = 1;
+ }
+ else if (p->kill_how == kill_always) {
+ kill(p->pid, SIGKILL);