Commit 2b48c816 authored by strauman's avatar strauman
Browse files

- cexp.c: don't call 'hello' if there is a script or command

   string.
 - cexp.c: don't ever become interactive after script or command
   string from a nested call of cexpsh.
parent 2e9b3a10
Changes since CEXP-2.1
2013/01/23:
- cexp.c: don't call 'hello' if there is a script or command
string.
- cexp.c: don't ever become interactive after script or command
string from a nested call of cexpsh.
- binutils-2.23.diff: added patch for ppc-dis.c which takes out
stuff which relies on elf-bfd. pmbfd could add an 'owner' member
to asection but it seems overkill just to support the PPC_VLE
......
......@@ -925,13 +925,15 @@ if (!myContext) {
#endif
/* register first instance running in this thread's context; */
cexpContextRegister();
if (!quiet)
if (!quiet && !script && !arg_line)
hello();
} else {
#ifdef HAVE_TECLA
/* re-use caller's line editor */
context.gl = myContext->gl;
#endif
/* never become interactive if we're not the topmost instance */
become_interactive = 0;
}
/* push our frame to the top */
context.next = myContext;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment