summaryrefslogtreecommitdiffstats
path: root/source/a/util-linux/util-linux.chfn.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-06-28 21:57:58 +0000
committer Eric Hameleers <alien@slackware.com>2020-06-29 08:59:53 +0200
commitc1b337e06ee4ea307f7a8307d0bf370576ea404f (patch)
treec4dddc3cadf4f2b5948e05ac2ca446a2b701f6ed /source/a/util-linux/util-linux.chfn.diff
parent93abc85df8a72067aecc72c4773d00b040d6a1e2 (diff)
downloadcurrent-c1b337e06ee4ea307f7a8307d0bf370576ea404f.tar.gz
current-c1b337e06ee4ea307f7a8307d0bf370576ea404f.tar.xz
Sun Jun 28 21:57:58 UTC 202020200628215758
x/libwacom-1.4-x86_64-2.txz: Rebuilt. Fix joystick property matching in udev rule. Thanks to Pixxt.
Diffstat (limited to 'source/a/util-linux/util-linux.chfn.diff')
-rw-r--r--source/a/util-linux/util-linux.chfn.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/a/util-linux/util-linux.chfn.diff b/source/a/util-linux/util-linux.chfn.diff
new file mode 100644
index 000000000..7947f72d1
--- /dev/null
+++ b/source/a/util-linux/util-linux.chfn.diff
@@ -0,0 +1,18 @@
+--- ./login-utils/chfn.c.orig 2020-05-20 07:27:43.465013472 -0500
++++ ./login-utils/chfn.c 2020-06-27 14:11:54.733895362 -0500
+@@ -236,12 +236,13 @@
+ if (!def_val)
+ def_val = "";
+ while (true) {
+- printf("%s [%s]: ", question, def_val);
++ printf("%s [%s]:", question, def_val);
+ __fpurge(stdin);
+ #ifdef HAVE_LIBREADLINE
+ rl_bind_key('\t', rl_insert);
+- if ((buf = readline(NULL)) == NULL)
++ if ((buf = readline(" ")) == NULL)
+ #else
++ printf(" ");
+ if (getline(&buf, &dummy, stdin) < 0)
+ #endif
+ errx(EXIT_FAILURE, _("Aborted."));