* Re: [ANNOUNCE] util-linux v2.23-rc1
[not found] <20130322125621.GA6278@x2.net.home>
@ 2013-03-22 13:41 ` Samuel Thibault
2013-03-26 9:56 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Thibault @ 2013-03-22 13:41 UTC (permalink / raw)
To: Karel Zak; +Cc: linux-kernel, linux-fsdevel, util-linux
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
Hello,
Karel Zak, le Fri 22 Mar 2013 13:56:21 +0100, a écrit :
> The util-linux release v2.23-rc1 is available at
>
> ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23
>
> Feedback and bug reports, as always, are welcomed.
Here is a couple of obvious fixes for non-linux systems.
Samuel
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 651 bytes --]
diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c
index db5f41e..621df1e 100644
--- a/login-utils/sulogin.c
+++ b/login-utils/sulogin.c
@@ -118,7 +118,9 @@ static void tcinit(struct console *con)
cfsetispeed(tio, ispeed);
cfsetospeed(tio, ospeed);
+#ifdef HAVE_STRUCT_TERMIOS_C_LINE
tio->c_line = 0;
+#endif
tio->c_cc[VTIME] = 0;
tio->c_cc[VMIN] = 1;
@@ -198,7 +200,7 @@ static void tcfinal(struct console *con)
tio->c_cc[VEOF] = CEOF;
#ifdef VSWTC
tio->c_cc[VSWTC] = _POSIX_VDISABLE;
-#else
+#elif defined(VSWTCH)
tio->c_cc[VSWTCH] = _POSIX_VDISABLE;
#endif
tio->c_cc[VSTART] = CSTART;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [ANNOUNCE] util-linux v2.23-rc1
2013-03-22 13:41 ` [ANNOUNCE] util-linux v2.23-rc1 Samuel Thibault
@ 2013-03-26 9:56 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-03-26 9:56 UTC (permalink / raw)
To: Samuel Thibault, util-linux
On Fri, Mar 22, 2013 at 02:41:47PM +0100, Samuel Thibault wrote:
> Here is a couple of obvious fixes for non-linux systems.
Applied, thanks!
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-26 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20130322125621.GA6278@x2.net.home>
2013-03-22 13:41 ` [ANNOUNCE] util-linux v2.23-rc1 Samuel Thibault
2013-03-26 9:56 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox