Hello community, here is the log from the commit of package sysvinit for openSUSE:Factory checked in at Thu Oct 28 13:24:32 CEST 2010. -------- --- sysvinit/sysvinit.changes 2010-10-21 12:16:19.000000000 +0200 +++ sysvinit/sysvinit.changes 2010-10-27 12:47:14.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Oct 27 12:46:16 CEST 2010 - werner@suse.de + +- Fix cast&past error in killproc/checkproc + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysvinit.spec ++++++ --- /var/tmp/diff_new_pack.tCg3MP/_old 2010-10-28 13:23:50.000000000 +0200 +++ /var/tmp/diff_new_pack.tCg3MP/_new 2010-10-28 13:23:50.000000000 +0200 @@ -29,7 +29,7 @@ Group: System/Base AutoReqProv: on Version: 2.88 -Release: 20 +Release: 21 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel libselinux-devel libsepol-devel pam-devel ++++++ killproc-2.17.dif ++++++ --- /var/tmp/diff_new_pack.tCg3MP/_old 2010-10-28 13:23:50.000000000 +0200 +++ /var/tmp/diff_new_pack.tCg3MP/_new 2010-10-28 13:23:50.000000000 +0200 @@ -1,4 +1,58 @@ ---- .dummy -+++ .dummy 2010-10-21 09:54:54.587926689 +0000 -@@ -0,0 +1 @@ -+Just a dummy, remove for a real patch +--- libinit.c ++++ libinit.c 2010-10-27 08:17:06.371926813 +0000 +@@ -728,19 +728,21 @@ int pidof (const char * inname, const ch + if (!(flags & (KTHREAD|KSHORT)) && !isscrpt) { + char entry[PATH_MAX+1]; + char *realname = NULL; +- const char *name; ++ const char *name = NULL; + boolean found; + +- if ((rll = readlinkat(dfd, here(d->d_name, "exe"), entry, PATH_MAX)) < 0) { +- if (errno != EPERM && errno != EACCES) +- goto risky; +- continue; +- } +- entry[rll] = '\0'; +- name = handl_buf(entry); ++ if (prefix) { ++ if ((rll = readlinkat(dfd, here(d->d_name, "exe"), entry, PATH_MAX)) < 0) { ++ if (errno != EPERM && errno != EACCES) ++ goto risky; ++ continue; ++ } ++ entry[rll] = '\0'; ++ name = handl_buf(entry); + +- if (prefix && find_mount(name) != prefix) +- continue; ++ if (find_mount(name) != prefix) ++ continue; ++ } + + if (fstatat(dfd, here(d->d_name, "exe"), &pid_st, 0) < 0) { + if (errno != EPERM && errno != EACCES) +@@ -765,12 +767,22 @@ int pidof (const char * inname, const ch + if (strlen(fullname) > PATH_MAX) + continue; + ++ if (!name) { ++ if ((rll = readlinkat(dfd, here(d->d_name, "exe"), entry, PATH_MAX)) < 0) { ++ if (errno != EPERM && errno != EACCES) ++ goto risky; ++ continue; ++ } ++ entry[rll] = '\0'; ++ name = handl_buf(entry); ++ } ++ + if (strncmp(fullname, name, PATH_MAX) == 0) { + found = true; + break; + } + +- if ((realname = realpath(name, NULL)) == (char*)0) ++ if ((realname = realpath(fullname, NULL)) == (char*)0) + continue; + + if (strncmp(realname, name, PATH_MAX) == 0) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org