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