You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/07/27 11:11:50 UTC

[GitHub] [cassandra] smiklosovic commented on a diff in pull request #1757: CASSANDRA-17780 - react on newer jemalloc implementations

smiklosovic commented on code in PR #1757:
URL: https://github.com/apache/cassandra/pull/1757#discussion_r930932019


##########
bin/cassandra:
##########
@@ -166,7 +166,7 @@ case "`uname -s`" in
                 dirs="/lib64 /lib /usr/lib64 /usr/lib `cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf | grep '^/'`"
             fi
             dirs=`echo $dirs | tr " " ":"`
-            CASSANDRA_LIBJEMALLOC=$(find_library '.*/libjemalloc\.so\(\.1\)*' $dirs)
+            CASSANDRA_LIBJEMALLOC=$(find_library '.*/libjemalloc\.so\.*[1-9]*' $dirs)

Review Comment:
   This will cover all libraries which are ending on a number, like:
   ````
   /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
   /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
   ...
   ````



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org