From 47ffb905f363571072faefbd417938e7ff351a9f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 12 Mar 2017 18:38:02 +0100 Subject: 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. --- src/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.h.in') diff --git a/src/config.h.in b/src/config.h.in index 49ed596f47..a9bcf1ef33 100644 --- 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 -- cgit v1.2.3