Tomas Janousek 4fb0991
			     BASH PATCH REPORT
Tomas Janousek 4fb0991
			     =================
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Bash-Release: 3.2
Tomas Janousek 4fb0991
Patch-ID: bash32-028
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Bug-Reported-by:	dAniel hAhler <ubuntu@thequod.de>
Tomas Janousek 4fb0991
Bug-Reference-ID:
Tomas Janousek 4fb0991
Bug-Reference-URL:
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Bug-Description:
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Under some circumstances, readline will incorrectly display a prompt string
Tomas Janousek 4fb0991
containing invisible characters after the final newline.
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Patch:
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
*** ../bash-3.2-patched/lib/readline/display.c	2007-08-25 13:47:08.000000000 -0400
Tomas Janousek 4fb0991
--- lib/readline/display.c	2007-11-10 17:51:29.000000000 -0500
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 392,396 ****
Tomas Janousek 4fb0991
        local_prompt = expand_prompt (p, &prompt_visible_length,
Tomas Janousek 4fb0991
  				       &prompt_last_invisible,
Tomas Janousek 4fb0991
! 				       (int *)NULL,
Tomas Janousek 4fb0991
  				       &prompt_physical_chars);
Tomas Janousek 4fb0991
        c = *t; *t = '\0';
Tomas Janousek 4fb0991
--- 420,424 ----
Tomas Janousek 4fb0991
        local_prompt = expand_prompt (p, &prompt_visible_length,
Tomas Janousek 4fb0991
  				       &prompt_last_invisible,
Tomas Janousek 4fb0991
! 				       &prompt_invis_chars_first_line,
Tomas Janousek 4fb0991
  				       &prompt_physical_chars);
Tomas Janousek 4fb0991
        c = *t; *t = '\0';
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 399,403 ****
Tomas Janousek 4fb0991
        local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
Tomas Janousek 4fb0991
  						   (int *)NULL,
Tomas Janousek 4fb0991
! 						   &prompt_invis_chars_first_line,
Tomas Janousek 4fb0991
  						   (int *)NULL);
Tomas Janousek 4fb0991
        *t = c;
Tomas Janousek 4fb0991
--- 427,431 ----
Tomas Janousek 4fb0991
        local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
Tomas Janousek 4fb0991
  						   (int *)NULL,
Tomas Janousek 4fb0991
! 						   (int *)NULL,
Tomas Janousek 4fb0991
  						   (int *)NULL);
Tomas Janousek 4fb0991
        *t = c;
Tomas Janousek 4fb0991
*** ../bash-3.2/patchlevel.h	Thu Apr 13 08:31:04 2006
Tomas Janousek 4fb0991
--- patchlevel.h	Mon Oct 16 14:22:54 2006
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 26,30 ****
Tomas Janousek 4fb0991
     looks for to find the patch level (for the sccs version string). */
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
! #define PATCHLEVEL 27
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
  #endif /* _PATCHLEVEL_H_ */
Tomas Janousek 4fb0991
--- 26,30 ----
Tomas Janousek 4fb0991
     looks for to find the patch level (for the sccs version string). */
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
! #define PATCHLEVEL 28
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
  #endif /* _PATCHLEVEL_H_ */