Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
python-libmount.25288
util-linux-agetty-smart-reload-14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-agetty-smart-reload-14.patch of Package python-libmount.25288
Refresh. From dcf03ffb379227678d4035df2c48f6604b9f663a Mon Sep 17 00:00:00 2001 From: Stanislav Brabec <sbrabec@suse.cz> Date: Wed, 27 Feb 2019 23:22:40 +0100 Subject: [PATCH 14/14] agetty: Switch to 8-bit processing in get_logname() for UTF-8 terminals If the terminal is in the UTF-8 mode, get_logname() should use 8-bit processing. Signed-off-by: Stanislav Brabec <sbrabec@suse.cz> Cc: Lubomir Rintel <lkundrak@v3.sk> Tested-by: Lubomir Rintel <lkundrak@v3.sk> --- term-utils/agetty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: util-linux-2.31.1/term-utils/agetty.c =================================================================== --- util-linux-2.31.1.orig/term-utils/agetty.c +++ util-linux-2.31.1/term-utils/agetty.c @@ -1917,7 +1917,7 @@ static char *get_logname(struct issue *i sleep(1); tcflush(STDIN_FILENO, TCIFLUSH); - eightbit = (op->flags & F_EIGHTBITS); + eightbit = (op->flags & (F_EIGHTBITS|F_UTF8)); bp = logname; *bp = '\0';
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor