Projects
Factory:RISC-V:Base
bash
_service:tar_scm:backport-Bash-5.1-patch-15-fix...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Bash-5.1-patch-15-fix-readline-display-of-some-chara.patch of Package bash
From 18ad612ea80ba978ae8271800814737e224a4baf Mon Sep 17 00:00:00 2001 From: Chet Ramey <chet.ramey@case.edu> Date: Tue, 4 Jan 2022 17:01:33 -0500 Subject: [PATCH] Bash-5.1 patch 15: fix readline display of some characters > 128 in certain single-byte encodings Conflict:NA Reference:https://git.savannah.gnu.org/cgit/bash.git/commit/?id=18ad612ea80ba978ae8271800814737e224a4baf --- lib/readline/display.c | 2 +- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/readline/display.c b/lib/readline/display.c index 38b3d0e7..f5d32945 100644 --- a/lib/readline/display.c +++ b/lib/readline/display.c @@ -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); } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2