Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mgetty for openSUSE:Factory checked in at 2021-03-16 15:46:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mgetty (Old) and /work/SRC/openSUSE:Factory/.mgetty.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mgetty" Tue Mar 16 15:46:01 2021 rev:38 rq:879357 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mgetty/mgetty.changes 2020-05-29 21:36:51.246556471 +0200 +++ /work/SRC/openSUSE:Factory/.mgetty.new.2401/mgetty.changes 2021-03-16 15:46:55.521277232 +0100 @@ -1,0 +2,5 @@ +Tue Mar 16 06:59:42 UTC 2021 - Marcus Meissner <meiss...@suse.com> + +- mgetty-fix-errlist.patch: just use strerror() here. + +------------------------------------------------------------------- New: ---- mgetty-fix-errlist.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mgetty.spec ++++++ --- /var/tmp/diff_new_pack.lzbV3D/_old 2021-03-16 15:46:56.157278220 +0100 +++ /var/tmp/diff_new_pack.lzbV3D/_new 2021-03-16 15:46:56.161278226 +0100 @@ -1,7 +1,7 @@ # # spec file for package mgetty # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,6 +40,7 @@ Patch10: mgetty-1.1.36-fix-bashisms.patch Patch12: mgetty-noroot.patch Patch13: mgetty-mkdir-p.patch +Patch14: mgetty-fix-errlist.patch BuildRequires: groff BuildRequires: makeinfo BuildRequires: netpbm @@ -103,6 +104,7 @@ %patch10 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 chmod +x mkidirs %build ++++++ mgetty-fix-errlist.patch ++++++ Index: mgetty-1.2.1/logfile.c =================================================================== --- mgetty-1.2.1.orig/logfile.c +++ mgetty-1.2.1/logfile.c @@ -332,8 +332,7 @@ static int first_open = TRUE; tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, log_infix, ws, - ( errnr <= sys_nerr ) ? sys_errlist[errnr]: - "<error not in list>" ); + strerror(errnr)); #ifdef SYSLOG syslog( level == L_FATAL? LOG_ALERT: LOG_ERR, "%s: %m", ws ); #endif