Mercurial > vim
view src/which.sh @ 20544:e8132bec4b0f v8.2.0826
patch 8.2.0826: Vim9: crash in :defcompile
Commit: https://github.com/vim/vim/commit/ebc3de634f4c2893f34e41b4f8da1d59212e59ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 26 11:08:28 2020 +0200
patch 8.2.0826: Vim9: crash in :defcompile
Problem: Vim9: crash in :defcompile.
Solution: Restart the loop after a call to compile_def_function() caused the
hash table to resize.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 May 2020 11:15:04 +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