aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cbits/execvpe.c1
-rw-r--r--changelog.md3
2 files changed, 4 insertions, 0 deletions
diff --git a/cbits/execvpe.c b/cbits/execvpe.c
index 8c9d52d..b4f9472 100644
--- a/cbits/execvpe.c
+++ b/cbits/execvpe.c
@@ -129,6 +129,7 @@ __hsunix_execvpe(const char *name, char *const argv[], char *const envp[])
case EACCES:
eacces = 1;
break;
+ case ENOTDIR:
case ENOENT:
break;
case ENOEXEC:
diff --git a/changelog.md b/changelog.md
index d5100cf..b7dafcd 100644
--- a/changelog.md
+++ b/changelog.md
@@ -14,6 +14,9 @@
* Use CAPI FFI import for `truncate` to make sure the LFS-version is used.
+ * `executeFile`: Fix `ENOTDIR` error for entries with non-directory
+ components in `PATH` (and instead skip over non-directory `PATH`-elements)
+
## 2.7.0.1 *Mar 2014*
* Bundled with GHC 7.8.1