]> granicus.if.org Git - apache/commitdiff
Minor cleanup:
authorJoe Orton <jorton@apache.org>
Thu, 10 Jul 2003 20:11:15 +0000 (20:11 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 10 Jul 2003 20:11:15 +0000 (20:11 +0000)
* pod.c (pod_signal_internal): apr_file_write() is defined to
never return EINTR, so don't check for that case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100541 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/worker/pod.c

index 072777c9c7887e6c2b4c30dc54d7126e2b3a27c7..b603c07e7419aaf355627e141f31d3097cda2b5d 100644 (file)
@@ -127,9 +127,7 @@ static apr_status_t pod_signal_internal(ap_pod_t *pod, int graceful)
     char char_of_death = graceful ? GRACEFUL_CHAR : RESTART_CHAR;
     apr_size_t one = 1;
 
-    do {
-        rv = apr_file_write(pod->pod_out, &char_of_death, &one);
-    } while (APR_STATUS_IS_EINTR(rv));
+    rv = apr_file_write(pod->pod_out, &char_of_death, &one);
     if (rv != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf,
                      "write pipe_of_death");