Mercurial > vim
view src/which.sh @ 17452:f12745505a23 v8.1.1724
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
commit https://github.com/vim/vim/commit/b4fe0eb4b4fe52a68a1df05162c03fe51c2fce79
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 21 14:50:21 2019 +0200
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Problem: Too much overhead checking for CTRL-C while processing text.
Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built
with the GUI. (suggested by Andy Massimino, closes #4708)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jul 2019 15:00:07 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done