Mercurial > vim
diff src/config.h.in @ 11125:6f52cc87fe15 v8.0.0450
patch 8.0.0450: v:progpath is not reliably set
commit https://github.com/vim/vim/commit/47ffb905f363571072faefbd417938e7ff351a9f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 18:38:02 2017 +0100
patch 8.0.0450: v:progpath is not reliably set
Problem: v:progpath is not reliably set.
Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal)
Also fixes missing #if.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 18:45:05 +0100 |
parents | 3b36da20ad73 |
children | 0895f142cac3 |
line wrap: on
line diff
--- a/src/config.h.in +++ b/src/config.h.in @@ -446,6 +446,9 @@ /* Define if fcntl()'s F_SETFD command knows about FD_CLOEXEC */ #undef HAVE_FD_CLOEXEC +/* Define if /proc/self/exe can be read */ +#undef HAVE_PROC_SELF_EXE + /* Define if you want Cygwin to use the WIN32 clipboard, not compatible with X11*/ #undef FEAT_CYGWIN_WIN32_CLIPBOARD