SHA256
1
0
forked from pool/bison
bison/bison-2.3-subpipe.diff

12 lines
270 B
Diff

--- lib/subpipe.c
+++ lib/subpipe.c
@@ -130,7 +130,7 @@
for execvp. */
execvp (argv[0], (char **) argv);
- _exit (errno == ENOENT ? 127 : 126);
+ error((errno == ENOENT ? 127 : 126), errno, "cannot run %s", argv[0]);
}
/* Parent. */