Mercurial > vim
view ci/setup-xvfb.sh @ 27154:6d7fe3af5aa2 v8.2.4106
patch 8.2.4106: going over the end of the w_lines array
Commit: https://github.com/vim/vim/commit/fa1a45705995f16ee7e69434c772107a3ddeeebd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 11:42:20 2022 +0000
patch 8.2.4106: going over the end of the w_lines array
Problem: Going over the end of the w_lines array.
Solution: Break out of the loop when "idx" is too big. (issue https://github.com/vim/vim/issues/9540)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 12:45:03 +0100 |
parents | 1984a3fcc953 |
children |
line wrap: on
line source
#!/bin/bash set -e apt-get install -y xvfb cat <<EOT >/etc/systemd/system/xvfb.service [Unit] Description=X Virtual Frame Buffer Service After=network.target [Service] ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24 [Install] WantedBy=multi-user.target EOT systemctl enable xvfb.service systemctl start xvfb.service