projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
continue the configure simplifications.
[apps/madmutt.git]
/
filter.c
diff --git
a/filter.c
b/filter.c
index
952618f
..
ef052b5
100644
(file)
--- a/
filter.c
+++ b/
filter.c
@@
-11,12
+11,14
@@
# include "config.h"
#endif
# include "config.h"
#endif
-#include "mutt.h"
-
#include <unistd.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/wait.h>
+#include <lib-sys/mutt_signal.h>
+
+#include "mutt.h"
+
/* Invokes a commmand on a pipe and optionally connects its stdin and stdout
* to the specified handles.
*/
/* Invokes a commmand on a pipe and optionally connects its stdin and stdout
* to the specified handles.
*/
@@
-93,7
+95,7
@@
mutt_create_filter_fd (const char *cmd, FILE ** in, FILE ** out, FILE ** err,
close (fderr);
}
close (fderr);
}
- execl (
EXECSHELL
, "sh", "-c", cmd, NULL);
+ execl (
"/bin/sh"
, "sh", "-c", cmd, NULL);
_exit (127);
}
else if (thepid == -1) {
_exit (127);
}
else if (thepid == -1) {