]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-5.1 patch 15: fix readline display of some characters > 128 in certain single...
authorChet Ramey <chet.ramey@case.edu>
Tue, 4 Jan 2022 22:01:33 +0000 (17:01 -0500)
committerChet Ramey <chet.ramey@case.edu>
Tue, 4 Jan 2022 22:01:33 +0000 (17:01 -0500)
lib/readline/display.c
patchlevel.h

index 38b3d0e761369b3c7c71721c733af64805a72bb2..f5d32945c828184767e45e6b1bac18a38dea8134 100644 (file)
@@ -1598,7 +1598,7 @@ puts_face (const char *str, const char *face, int n)
   char cur_face;
 
   for (cur_face = FACE_NORMAL, i = 0; i < n; i++)
-    putc_face (str[i], face[i], &cur_face);
+    putc_face ((unsigned char) str[i], face[i], &cur_face);
   putc_face (EOF, FACE_NORMAL, &cur_face);
 }
 
index f2e80d19ca9fd6796e972c88e70c61b737dddaf4..252e0819815ff898b8c0d62b2919bce240552821 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 14
+#define PATCHLEVEL 15
 
 #endif /* _PATCHLEVEL_H_ */