Hello community, here is the log from the commit of package sysvinit for openSUSE:Factory checked in at Wed Nov 10 18:36:52 CET 2010. -------- --- sysvinit/sysvinit.changes 2010-10-29 17:21:39.000000000 +0200 +++ sysvinit/sysvinit.changes 2010-11-09 16:32:25.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 9 16:30:56 CET 2010 - werner@suse.de + +- Change showconsole to use newest /proc/tty/consoles API + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysvinit.spec ++++++ --- /var/tmp/diff_new_pack.H1UHMo/_old 2010-11-10 18:36:40.000000000 +0100 +++ /var/tmp/diff_new_pack.H1UHMo/_new 2010-11-10 18:36:40.000000000 +0100 @@ -29,7 +29,7 @@ Group: System/Base AutoReqProv: on Version: 2.88 -Release: 22 +Release: 23 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel libselinux-devel libsepol-devel pam-devel ++++++ showconsole-1.13.dif ++++++ --- /var/tmp/diff_new_pack.H1UHMo/_old 2010-11-10 18:36:41.000000000 +0100 +++ /var/tmp/diff_new_pack.H1UHMo/_new 2010-11-10 18:36:41.000000000 +0100 @@ -1,5 +1,5 @@ --- libconsole.c -+++ libconsole.c 2010-10-29 15:16:44.691925956 +0000 ++++ libconsole.c 2010-11-09 15:24:33.895925637 +0000 @@ -707,11 +707,12 @@ static void parselog(unsigned char *buf, static void copylog(const unsigned char *buf, const size_t s) { @@ -25,3 +25,33 @@ warn("can not open named fifo %s: %s\n", fifo_name, strerror(errno)); } } +@@ -1266,7 +1267,7 @@ char * fetchtty(const pid_t pid, const p + while ((fscanf(fc, "%*s %*s (%[^)]) %d:%d", &fbuf[0], &maj, &min) == 3)) { + if (!strchr(fbuf, 'E')) + continue; +- if (strchr(fbuf, '*')) { ++ if (strchr(fbuf, 'C')) { + dev = makedev(maj, min); + break; + } +@@ -1347,7 +1348,7 @@ void secondtty(struct console *restrict + + if (!strchr(fbuf, 'E')) + continue; +- if (strchr(fbuf, '*')) ++ if (strchr(fbuf, 'C')) + continue; + dev = makedev(maj, min); + +--- showconsole.8 ++++ showconsole.8 2010-11-09 15:26:29.038362757 +0000 +@@ -22,8 +22,7 @@ Setconsole \- redirect system console ou + .SH DESCRIPTION + .B showconsole + determines the real character device of +-the current +-.BR stdin. ++the current system console. + This can be used on + .I /dev/console + as current character device to ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org