projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR gdb/7912:
[deliverable/binutils-gdb.git]
/
gdb
/
cli
/
cli-cmds.c
diff --git
a/gdb/cli/cli-cmds.c
b/gdb/cli/cli-cmds.c
index a5b2572d74799619fd80f576514c3c312a787a90..cf88b6dd657e56242e2d175c1063a9c5926ab2f6 100644
(file)
--- a/
gdb/cli/cli-cmds.c
+++ b/
gdb/cli/cli-cmds.c
@@
-39,6
+39,7
@@
#include "source.h"
#include "disasm.h"
#include "tracepoint.h"
+#include "filestuff.h"
#include "ui-out.h"
@@
-727,6
+728,8
@@
shell_escape (char *arg, int from_tty)
{
const char *p, *user_shell;
+ close_most_fds ();
+
if ((user_shell = (char *) getenv ("SHELL")) == NULL)
user_shell = "/bin/sh";
This page took
0.025318 seconds
and
4
git commands to generate.