source: clfs-sysroot/patches/readline-5.2-fixes-1.patch@ 8765e79

Last change on this file since 8765e79 was 8765e79, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Added Readline Upstream Patch.

  • Property mode set to 100644
File size: 611 bytes
RevLine 
[8765e79]1Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
2Date: 2006-12-12
3Initial Package Version: 5.2
4Origin: ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches
5Upstream Status: From Upstream
6Description: Contains patches 001 from upstream
7
8diff -Naur readline-5.2.orig/display.c readline-5.2/display.c
9--- readline-5.2.orig/display.c 2006-09-14 11:20:12.000000000 -0700
10+++ readline-5.2/display.c 2006-12-12 14:57:06.000000000 -0800
11@@ -2380,6 +2380,8 @@
12
13 if (end <= start)
14 return 0;
15+ if (MB_CUR_MAX == 1 || rl_byte_oriented)
16+ return (end - start);
17
18 memset (&ps, 0, sizeof (mbstate_t));
19
Note: See TracBrowser for help on using the repository browser.