File: jemalloc

package info (click to toggle)
tmux 3.6a-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,508 kB
  • sloc: ansic: 72,681; sh: 1,813; yacc: 1,483; awk: 339; makefile: 235; perl: 41
file content (13 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$(uname -s)" != "Linux" ]; then
    exit 0
fi

if env MALLOC_CONF=abort_conf:true,invalid tmux -V >/dev/null 2>&1; then
    # This is supposed to fail with an invalid configuration:
    # tmux is not built with jemalloc as intended...
    exit 1
fi