[yast-commit] r59895 - in /branches/SuSE-SLE-10-SP3-Branch/backup: VERSION package/yast2-backup.changes src/Backup.ycp
Author: locilka Date: Wed Dec 2 15:44:19 2009 New Revision: 59895 URL: http://svn.opensuse.org/viewcvs/yast?rev=59895&view=rev Log: - Fixed infinite loop in case of old archives to keep set to zero (bnc #550996). - 2.13.7 Modified: branches/SuSE-SLE-10-SP3-Branch/backup/VERSION branches/SuSE-SLE-10-SP3-Branch/backup/package/yast2-backup.changes branches/SuSE-SLE-10-SP3-Branch/backup/src/Backup.ycp Modified: branches/SuSE-SLE-10-SP3-Branch/backup/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/backup/VERSION?rev=59895&r1=59894&r2=59895&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/backup/VERSION (original) +++ branches/SuSE-SLE-10-SP3-Branch/backup/VERSION Wed Dec 2 15:44:19 2009 @@ -1 +1 @@ -2.13.6 +2.13.7 Modified: branches/SuSE-SLE-10-SP3-Branch/backup/package/yast2-backup.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/backup/package/yast2-backup.changes?rev=59895&r1=59894&r2=59895&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/backup/package/yast2-backup.changes (original) +++ branches/SuSE-SLE-10-SP3-Branch/backup/package/yast2-backup.changes Wed Dec 2 15:44:19 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.13.7 + +------------------------------------------------------------------- Thu Oct 23 17:05:12 CEST 2008 - locilka@suse.cz - Fixed storing the symlinks. Modified: branches/SuSE-SLE-10-SP3-Branch/backup/src/Backup.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/backup/src/Backup.ycp?rev=59895&r1=59894&r2=59895&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/backup/src/Backup.ycp (original) +++ branches/SuSE-SLE-10-SP3-Branch/backup/src/Backup.ycp Wed Dec 2 15:44:19 2009 @@ -1785,10 +1785,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
participants (1)
-
locilka@svn.opensuse.org