Hello community, here is the log from the commit of package salinfo checked in at Mon Nov 26 21:02:20 CET 2007. -------- --- arch/ia64/salinfo/salinfo.changes 2007-07-05 11:14:23.000000000 +0200 +++ /mounts/work_src_done/STABLE/salinfo/salinfo.changes 2007-11-26 13:37:06.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Nov 26 13:37:00 CET 2007 - schwab@suse.de + +- Fix open call. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ salinfo.spec ++++++ --- /var/tmp/diff_new_pack.EH5318/_old 2007-11-26 21:01:32.000000000 +0100 +++ /var/tmp/diff_new_pack.EH5318/_new 2007-11-26 21:01:32.000000000 +0100 @@ -13,11 +13,11 @@ Name: salinfo Summary: Decode IA64 SAL records Version: 1.2 -Release: 20 +Release: 43 Group: System/Daemons License: GPL v2 or later PreReq: %insserv_prereq %fillup_prereq -Autoreqprov: on +AutoReqProv: on Source: salinfo-%{version}.tar.bz2 Patch: salinfo-%{version}.diff Source1: rcsalinfo_decode @@ -79,6 +79,8 @@ /var/adm/fillup-templates/* %changelog +* Mon Nov 26 2007 - schwab@suse.de +- Fix open call. * Thu Jul 05 2007 - schwab@suse.de - Fix file list. * Thu Nov 02 2006 - schwab@suse.de ++++++ salinfo-1.2.diff ++++++ --- /var/tmp/diff_new_pack.EH5318/_old 2007-11-26 21:01:32.000000000 +0100 +++ /var/tmp/diff_new_pack.EH5318/_new 2007-11-26 21:01:32.000000000 +0100 @@ -1,6 +1,6 @@ --- salinfo_decode.c +++ salinfo_decode.c -@@ -303,7 +303,7 @@ +@@ -303,7 +303,7 @@ log_dropped_records(void) snprintf(line, sizeof(line), ", %d %s", dropped_all[i]->dropped, dropped_all[i]->name); dropped_all[i]->dropped = 0; @@ -9,3 +9,12 @@ } } syslog(LOG_NOTICE, "%s", log); +@@ -424,7 +424,7 @@ talk_to_sal (void) + int fd; + char filename[PATH_MAX]; + snprintf(filename, sizeof(filename), "%s/%s/.check", directory, rd[i]); +- if ((fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC)) < 0) { ++ if ((fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0600)) < 0) { + perror(filename); + goto out; + } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org