Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 78661 invoked from network); 22 Sep 2004 13:35:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Sep 2004 13:35:52 -0000 Received: (qmail 87404 invoked by uid 500); 22 Sep 2004 13:35:35 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 87306 invoked by uid 500); 22 Sep 2004 13:35:34 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 87282 invoked by uid 500); 22 Sep 2004 13:35:33 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 87275 invoked by uid 99); 22 Sep 2004 13:35:33 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 22 Sep 2004 06:35:33 -0700 Received: (qmail 78348 invoked by uid 1582); 22 Sep 2004 13:35:31 -0000 Date: 22 Sep 2004 13:35:31 -0000 Message-ID: <20040922133531.78347.qmail@minotaur.apache.org> From: jorton@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server scoreboard.c X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jorton 2004/09/22 06:35:31 Modified: server scoreboard.c Log: * server/scoreboard.c (create_namebased_scoreboard): Use apr_shm_remove() rather than the unsufficient apr_file_remove(). PR: 27189 Revision Changes Path 1.77 +1 -1 httpd-2.0/server/scoreboard.c Index: scoreboard.c =================================================================== RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v retrieving revision 1.76 retrieving revision 1.77 diff -d -w -u -r1.76 -r1.77 --- scoreboard.c 15 Sep 2004 12:08:33 -0000 1.76 +++ scoreboard.c 22 Sep 2004 13:35:31 -0000 1.77 @@ -151,7 +151,7 @@ /* The shared memory file must not exist before we create the * segment. */ - apr_file_remove(fname, pool); /* ignore errors */ + apr_shm_remove(fname, pool); /* ignore errors */ rv = apr_shm_create(&ap_scoreboard_shm, scoreboard_size, fname, pool); if (rv != APR_SUCCESS) {