Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A14521987F for ; Tue, 12 Apr 2016 13:09:04 +0000 (UTC) Received: (qmail 64594 invoked by uid 500); 12 Apr 2016 13:09:04 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 64530 invoked by uid 500); 12 Apr 2016 13:09:04 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 64521 invoked by uid 99); 12 Apr 2016 13:09:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 13:09:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D302DC0224 for ; Tue, 12 Apr 2016 13:09:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xEDW-PNz6eCd for ; Tue, 12 Apr 2016 13:09:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id EC34A5FB2A for ; Tue, 12 Apr 2016 13:09:02 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0EC70E019D for ; Tue, 12 Apr 2016 13:09:01 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 312E53A0186 for ; Tue, 12 Apr 2016 13:09:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1738796 - /apr/apr/branches/1.6.x/locks/unix/proc_mutex.c Date: Tue, 12 Apr 2016 13:09:00 -0000 To: commits@apr.apache.org From: ylavic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160412130901.312E53A0186@svn01-us-west.apache.org> Author: ylavic Date: Tue Apr 12 13:09:00 2016 New Revision: 1738796 URL: http://svn.apache.org/viewvc?rev=1738796&view=rev Log: apr_proc_mutex-pthread: follow up to r1738793. Fix munmap()ing size of the pthread_interproc mutex to match the mmap()ed one. This was fixed in trunk by r1733775 which is barely related and will be backported later, hence this standalone fix. Modified: apr/apr/branches/1.6.x/locks/unix/proc_mutex.c Modified: apr/apr/branches/1.6.x/locks/unix/proc_mutex.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/locks/unix/proc_mutex.c?rev=1738796&r1=1738795&r2=1738796&view=diff ============================================================================== --- apr/apr/branches/1.6.x/locks/unix/proc_mutex.c (original) +++ apr/apr/branches/1.6.x/locks/unix/proc_mutex.c Tue Apr 12 13:09:00 2016 @@ -480,7 +480,8 @@ static apr_status_t proc_mutex_proc_pthr return rv; } } - if (munmap((caddr_t)mutex->pthread_interproc, sizeof(pthread_mutex_t))) { + if (munmap((caddr_t)mutex->pthread_interproc, + sizeof(proc_pthread_mutex_t))) { return errno; } return APR_SUCCESS;