Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-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 E1AA410ED7 for ; Mon, 28 Dec 2015 14:14:49 +0000 (UTC) Received: (qmail 74573 invoked by uid 500); 28 Dec 2015 14:14:49 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 74537 invoked by uid 500); 28 Dec 2015 14:14:49 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 74526 invoked by uid 99); 28 Dec 2015 14:14:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2015 14:14:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 85FD32C14F6 for ; Mon, 28 Dec 2015 14:14:49 +0000 (UTC) Date: Mon, 28 Dec 2015 14:14:49 +0000 (UTC) From: "Bernhard K. Weisshuhn (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-10946) jemalloc detection fails due to quoting issues in regex MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bernhard K. Weisshuhn created CASSANDRA-10946: ------------------------------------------------- Summary: jemalloc detection fails due to quoting issues in regex Key: CASSANDRA-10946 URL: https://issues.apache.org/jira/browse/CASSANDRA-10946 Project: Cassandra Issue Type: Bug Components: Configuration, Tools Environment: ubuntu 14.04 Reporter: Bernhard K. Weisshuhn Priority: Minor Attachments: 0001-fix-detection-of-jemalloc-on-linux-remove-quoting-is.patch When creating the list of paths where to search for jemalloc, we parse ldconfig output to get more directories. The current pattern used to filter out indented rows from ldconfig does not work because of quoting issues of the involved dollar sign. I found just changing the regex to '^\s' works and seems lees error prone. -- This message was sent by Atlassian JIRA (v6.3.4#6332)