5 Patch-ID: readline81-002
7 Bug-Reported-by: Volodymyr Prodan <vovcat@gmail.com>
9 Bug-Reference-URL: https://savannah.gnu.org/patch/?10076
13 There are some characters (e.g., cyrillic) that can't be displayed using
14 certain single-byte encodings (e.g., cp1251) because the negative signed
15 int is interpreted as EOF and not displayed.
17 Patch (apply with `patch -p0'):
19 *** ../readline-8.1-patched/display.c 2021-03-16 18:12:20.000000000 -0400
20 --- display.c 2021-06-07 16:53:08.000000000 -0400
24 for (cur_face = FACE_NORMAL, i = 0; i < n; i++)
25 ! putc_face (str[i], face[i], &cur_face);
26 putc_face (EOF, FACE_NORMAL, &cur_face);
30 for (cur_face = FACE_NORMAL, i = 0; i < n; i++)
31 ! putc_face ((unsigned char) str[i], face[i], &cur_face);
32 putc_face (EOF, FACE_NORMAL, &cur_face);
35 *** ../readline-8.1/patchlevel 2013-11-15 08:11:11.000000000 -0500
36 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
39 # Do not edit -- exists only for use by patch
43 # Do not edit -- exists only for use by patch