source: patches/readline-5.2-fixes-1.patch@ 0af6afa

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0af6afa was 001becd, checked in by Jim Gifford <clfs@…>, 18 years ago

Added Readline Upstream Patch

  • Property mode set to 100644
File size: 611 bytes
RevLine 
[001becd]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.