~ubuntu-branches/debian/sid/bash/sid

« back to all changes in this revision

Viewing changes to shell.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-01-28 17:05:00 UTC
  • Revision ID: package-import@ubuntu.com-20150128170500-f3gxb971i30og3ym
Tags: 4.3-12
* Apply upstream patches 031 - 033.
* Add a Built-Using attribute for bash-static. Closes: #769342.
* Move definition of the macro "FN" out of the region of the "ig"
  macro.  Define macros and registers "zZ" and "zY". Closes: #774597.
* Also set color prompt for *-256color terminals. Closes: #766443.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
#endif
74
74
 
75
75
#if defined (READLINE)
 
76
#  include <readline/readline.h>
76
77
#  include "bashline.h"
77
78
#endif
78
79
 
909
910
  fflush (stdout);              /* XXX */
910
911
  fflush (stderr);
911
912
 
 
913
  /* Clean up the terminal if we are in a state where it's been modified. */
 
914
#if defined (READLINE)
 
915
  if (RL_ISSTATE (RL_STATE_TERMPREPPED) && rl_deprep_term_function)
 
916
    (*rl_deprep_term_function) ();
 
917
#endif
 
918
  if (read_tty_modified ())
 
919
    read_tty_cleanup ();
 
920
 
912
921
  /* Do trap[0] if defined.  Allow it to override the exit status
913
922
     passed to us. */
914
923
  if (signal_is_trapped (0))