Roman Rakus 928cba
			     BASH PATCH REPORT
Roman Rakus 928cba
			     =================
Roman Rakus 928cba
Roman Rakus 928cba
Bash-Release: 4.0
Roman Rakus 928cba
Patch-ID: bash40-021
Roman Rakus 928cba
Roman Rakus 928cba
Bug-Reported-by:  Matt Zyzik <matt.zyzik@nyu.edu>
Roman Rakus 928cba
Bug-Reference-ID: <20090319015542.696F62B8E8@ice.filescope.com>
Roman Rakus 928cba
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00149.html
Roman Rakus 928cba
Roman Rakus 928cba
Bug-Description:
Roman Rakus 928cba
Roman Rakus 928cba
When not in a locale supporting multibyte characters, readline will occasionally
Roman Rakus 928cba
not erase characters between the cursor position and the end of the line
Roman Rakus 928cba
when killing text backwards.
Roman Rakus 928cba
Roman Rakus 928cba
Patch:
Roman Rakus 928cba
Roman Rakus 928cba
*** ../bash-4.0-patched/lib/readline/display.c	2009-01-04 14:32:32.000000000 -0500
Roman Rakus 928cba
--- lib/readline/display.c	2009-04-14 14:00:18.000000000 -0400
Roman Rakus 928cba
***************
Roman Rakus 928cba
*** 1775,1779 ****
Roman Rakus 928cba
  	     adjust col_lendiff based on the difference between _rl_last_c_pos
Roman Rakus 928cba
  	     and _rl_screenwidth */
Roman Rakus 928cba
! 	  if (col_lendiff && (_rl_last_c_pos < _rl_screenwidth))
Roman Rakus 928cba
  #endif
Roman Rakus 928cba
  	    {	  
Roman Rakus 928cba
--- 1775,1779 ----
Roman Rakus 928cba
  	     adjust col_lendiff based on the difference between _rl_last_c_pos
Roman Rakus 928cba
  	     and _rl_screenwidth */
Roman Rakus 928cba
! 	  if (col_lendiff && ((MB_CUR_MAX == 1 || rl_byte_oriented) || (_rl_last_c_pos < _rl_screenwidth)))
Roman Rakus 928cba
  #endif
Roman Rakus 928cba
  	    {	  
Roman Rakus 928cba
*** ../bash-4.0/patchlevel.h	2009-01-04 14:32:40.000000000 -0500
Roman Rakus 928cba
--- patchlevel.h	2009-02-22 16:11:31.000000000 -0500
Roman Rakus 928cba
***************
Roman Rakus 928cba
*** 26,30 ****
Roman Rakus 928cba
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 928cba
  
Roman Rakus 928cba
! #define PATCHLEVEL 20
Roman Rakus 928cba
  
Roman Rakus 928cba
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus 928cba
--- 26,30 ----
Roman Rakus 928cba
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 928cba
  
Roman Rakus 928cba
! #define PATCHLEVEL 21
Roman Rakus 928cba
  
Roman Rakus 928cba
  #endif /* _PATCHLEVEL_H_ */