void-packages/srcpkgs/util-linux/patches/fix-musl-2.patch
Christian Neukirchen 389109c3db Revert "util-linux: fix mount(8) helpers arg order with musl."
mount helpers such as "sshfs" or "mount.nfs" expect mountpoints first
and options last.  Instead fix "mount.zfs".

This reverts commit 195aaf0811.
2016-01-14 14:05:18 +01:00

13 lines
383 B
Diff

Fixes rendering issue with chsh
--- login-utils/chsh.c.orig 2015-08-01 23:56:41.281133707 +0200
+++ login-utils/chsh.c 2015-08-01 23:56:52.116132896 +0200
@@ -179,6 +179,7 @@ static char *ask_new_shell(char *questio
if (!oldshell)
oldshell = "";
printf("%s [%s]: ", question, oldshell);
+ fflush(stdout);
sz = getline(&ans, &dummy, stdin);
if (sz == -1)
return NULL;