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