You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bernhard K. Weisshuhn (JIRA)" <ji...@apache.org> on 2015/12/28 15:28:49 UTC

[jira] [Updated] (CASSANDRA-10946) jemalloc detection fails due to quoting issues in regex

     [ https://issues.apache.org/jira/browse/CASSANDRA-10946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernhard K. Weisshuhn updated CASSANDRA-10946:
----------------------------------------------
    Description: 
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 less error prone.


  was:
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.



> 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
>              Labels: easyfix
>         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 less error prone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)