Author: locilka Date: Wed Dec 2 15:49:25 2009 New Revision: 59897 URL: http://svn.opensuse.org/viewcvs/yast?rev=59897&view=rev Log: - Fixed infinite loop in case of old archives to keep set to zero (bnc #550996). - 2.16.8 Modified: branches/SuSE-Linux-11_0-Branch/backup/VERSION branches/SuSE-Linux-11_0-Branch/backup/package/yast2-backup.changes branches/SuSE-Linux-11_0-Branch/backup/src/Backup.ycp Modified: branches/SuSE-Linux-11_0-Branch/backup/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_0-Branch/backup/VERSION?rev=59897&r1=59896&r2=59897&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/backup/VERSION (original) +++ branches/SuSE-Linux-11_0-Branch/backup/VERSION Wed Dec 2 15:49:25 2009 @@ -1 +1 @@ -2.16.7 +2.16.8 Modified: branches/SuSE-Linux-11_0-Branch/backup/package/yast2-backup.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_0-Branch/backup/package/yast2-backup.changes?rev=59897&r1=59896&r2=59897&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/backup/package/yast2-backup.changes (original) +++ branches/SuSE-Linux-11_0-Branch/backup/package/yast2-backup.changes Wed Dec 2 15:49:25 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Dec 2 15:41:11 CET 2009 - locilka@suse.cz + +- Fixed infinite loop in case of old archives to keep set to zero + (bnc #550996). +- 2.16.8 + +------------------------------------------------------------------- Wed Jul 8 15:26:23 CEST 2009 - locilka@suse.cz - Fixed storing some additional backup information during Modified: branches/SuSE-Linux-11_0-Branch/backup/src/Backup.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_0-Branch/backup/src/Backup.ycp?rev=59897&r1=59896&r2=59897&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/backup/src/Backup.ycp (original) +++ branches/SuSE-Linux-11_0-Branch/backup/src/Backup.ycp Wed Dec 2 15:49:25 2009 @@ -1853,10 +1853,10 @@ y2milestone("Old archives: %1", files); - if (size(files) >= max && max >= 0) + if (size(files) > 0 && size(files) >= max && max >= 0) { // remove the old archives - while(size(files) >= max) + while(size(files) > 0 && size(files) >= max) { string oldarchive = files[size(files) - 1]:"__DUMMY__"; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org