Author: locilka Date: Wed Dec 2 15:46:44 2009 New Revision: 59896 URL: http://svn.opensuse.org/viewcvs/yast?rev=59896&view=rev Log: - Fixed infinite loop in case of old archives to keep set to zero (bnc #550996). - 2.17.7 Modified: branches/SuSE-Code-11-Branch/backup/VERSION branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes branches/SuSE-Code-11-Branch/backup/src/Backup.ycp Modified: branches/SuSE-Code-11-Branch/backup/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/VERSION?rev=59896&r1=59895&r2=59896&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/backup/VERSION (original) +++ branches/SuSE-Code-11-Branch/backup/VERSION Wed Dec 2 15:46:44 2009 @@ -1 +1 @@ -2.17.6 +2.17.7 Modified: branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes?rev=59896&r1=59895&r2=59896&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes (original) +++ branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes Wed Dec 2 15:46:44 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.17.7 + +------------------------------------------------------------------- Wed Jul 8 15:26:23 CEST 2009 - locilka@suse.cz - Fixed storing some additional backup information during Modified: branches/SuSE-Code-11-Branch/backup/src/Backup.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/src/Backup.ycp?rev=59896&r1=59895&r2=59896&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/backup/src/Backup.ycp (original) +++ branches/SuSE-Code-11-Branch/backup/src/Backup.ycp Wed Dec 2 15:46:44 2009 @@ -1874,10 +1874,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