Mercurial > vim
view ci/setup-xvfb.sh @ 26692:de714c98c9b8 v8.2.3875
patch 8.2.3875: gcc complains about buffer overrun
Commit: https://github.com/vim/vim/commit/b4168fd917e869912e0649fe13c10e5e6a595199
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 22 20:29:09 2021 +0000
patch 8.2.3875: gcc complains about buffer overrun
Problem: gcc complains about buffer overrun.
Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 22 Dec 2021 21:30:04 +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