view ci/load-snd-dummy.sh @ 20341:cf2620e7a6aa v8.2.0726

patch 8.2.0726: Vim9: leaking memory when calling not compiled :def function Commit: https://github.com/vim/vim/commit/3b6a6eb7b4e0ac5b75dd2518bd27bce2b13298a3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 9 23:20:20 2020 +0200 patch 8.2.0726: Vim9: leaking memory when calling not compiled :def function Problem: Vim9: leaking memory when calling not compiled :def function. Solution: Check if function is compiled earlier.
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 May 2020 23:30:03 +0200
parents c94c103e7cb4
children 3a7017ee1161
line wrap: on
line source

#!/bin/bash
set -e

if ! modprobe snd-dummy; then
    # snd-dummy is contained in linux-modules-extra (if exists)
    apt install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi