Hello community, here is the log from the commit of package yast2-core for openSUSE:Factory checked in at Tue Apr 21 13:04:05 CEST 2009. -------- --- yast2-core/yast2-core.changes 2009-04-20 20:37:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2009-04-21 13:03:27.357666000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 21 13:03:23 CEST 2009 - coolo@suse.de + +- another hot fix + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-core.spec ++++++ --- /var/tmp/diff_new_pack.q28167/_old 2009-04-21 13:03:45.000000000 +0200 +++ /var/tmp/diff_new_pack.q28167/_new 2009-04-21 13:03:45.000000000 +0200 @@ -20,7 +20,7 @@ Name: yast2-core Version: 2.18.6 -Release: 2 +Release: 3 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -193,6 +193,8 @@ /usr/share/YaST2/data/devtools/bin/generateYCPWrappers %changelog +* Tue Apr 21 2009 coolo@suse.de +- another hot fix * Mon Apr 20 2009 coolo@suse.de - trying hot fix for bnc#493152 * Fri Apr 10 2009 lslezak@suse.cz ++++++ nologinsignalhandler.diff ++++++ --- /var/tmp/diff_new_pack.q28167/_old 2009-04-21 13:03:45.000000000 +0200 +++ /var/tmp/diff_new_pack.q28167/_new 2009-04-21 13:03:45.000000000 +0200 @@ -13,3 +13,65 @@ // bye signal (sig, SIG_DFL); kill ( getpid (), sig); +Index: src/y2log.cc +=================================================================== +--- p1/src/y2log.cc (Revision 56785) ++++ p1/src/y2log.cc (Arbeitskopie) +@@ -119,7 +119,9 @@ + FILE * newstderr = fdopen( dupstderr, "a" ); + + if ( newstderr == NULL ) { +- fprintf( Y2LOG_STDERR, "y2log: Can't fdopen new stderr: %s.\n", strerror (errno) ); ++ char buf[100]; ++ strerror_r(errno, buf, sizeof(buf)-1); ++ fprintf( Y2LOG_STDERR, "y2log: Can't fdopen new stderr: %s.\n", buf); + } + else { + fcntl (fileno (newstderr), F_SETFD, fcntl (fileno (newstderr), F_GETFD) | FD_CLOEXEC); +@@ -127,7 +129,9 @@ + } + } + else { +- fprintf( Y2LOG_STDERR, "y2log: Can't dup stderr: %s.\n", strerror (errno) ); ++ char buf[100]; ++ strerror_r(errno, buf, sizeof(buf)-1); ++ fprintf( Y2LOG_STDERR, "y2log: Can't dup stderr: %s.\n", buf ); + } + return 1; + } +@@ -145,8 +149,10 @@ + logfile = fopen (logname, "a"); + } + if (!logfile && !log_simple) { ++ char buf[100]; ++ strerror_r(errno, buf, sizeof(buf)-1); + fprintf (Y2LOG_STDERR, "y2log: Error opening logfile '%s': %s.\n", +- logname, strerror (errno)); ++ logname, buf); + return NULL; + } + } +@@ -244,17 +250,19 @@ + #if 1 + // just 1 second precision + time_t timestamp = time (NULL); +- struct tm *brokentime = localtime (×tamp); ++ struct tm brokentime; ++ localtime_r (×tamp, &brokentime); + char date[50]; // that's big enough +- strftime (date, sizeof (date), Y2LOG_DATE, brokentime); ++ strftime (date, sizeof (date), Y2LOG_DATE, &brokentime); + #else + // 1 millisecond precision (use only for testing) + timeval time; + gettimeofday (&time, NULL); + time_t timestamp = time.tv_sec; +- struct tm *brokentime = localtime (×tamp); ++ struct tm brokentime; ++ localtime_r (×tamp, &brokentime); + char tmp1[50], date[50]; // that's big enough +- strftime (tmp1, sizeof (tmp1), Y2LOG_DATE, brokentime); ++ strftime (tmp1, sizeof (tmp1), Y2LOG_DATE, &brokentime); + snprintf (date, sizeof (date), "%s.%03ld", tmp1, time.tv_usec / 1000); + #endif + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org