Last change
on this file since 20ec175 was 8765e79, checked in by Joe Ciccone <jciccone@…>, 18 years ago |
Added Readline Upstream Patch.
|
-
Property mode
set to
100644
|
File size:
611 bytes
|
Rev | Line | |
---|
[8765e79] | 1 | Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
|
---|
| 2 | Date: 2006-12-12
|
---|
| 3 | Initial Package Version: 5.2
|
---|
| 4 | Origin: ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches
|
---|
| 5 | Upstream Status: From Upstream
|
---|
| 6 | Description: Contains patches 001 from upstream
|
---|
| 7 |
|
---|
| 8 | diff -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.