Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] r57939 - in /branches/SuSE-Code-11-Branch/backup: VERSION package/yast2-backup.changes src/ui.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Wed, 08 Jul 2009 13:31:14 -0000
  • Message-id: <E1MOXEw-0004rj-9l@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Wed Jul 8 15:31:13 2009
New Revision: 57939

URL: http://svn.opensuse.org/viewcvs/yast?rev=57939&view=rev
Log:
- Fixed storing some additional backup information during
an automatic backup (bnc #490995).
- 2.17.6


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/ui.ycp

Modified: branches/SuSE-Code-11-Branch/backup/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/VERSION?rev=57939&r1=57938&r2=57939&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/backup/VERSION (original)
+++ branches/SuSE-Code-11-Branch/backup/VERSION Wed Jul 8 15:31:13 2009
@@ -1 +1 @@
-2.17.5
+2.17.6

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=57939&r1=57938&r2=57939&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes (original)
+++ branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes Wed Jul 8
15:31:13 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Jul 8 15:26:23 CEST 2009 - locilka@xxxxxxx
+
+- Fixed storing some additional backup information during
+ an automatic backup (bnc #490995).
+- 2.17.6
+
+-------------------------------------------------------------------
Fri Jan 16 12:35:47 CET 2009 - locilka@xxxxxxx

- Fixed Automatic Backup for profiles with a space character in

Modified: branches/SuSE-Code-11-Branch/backup/src/ui.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/src/ui.ycp?rev=57939&r1=57938&r2=57939&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/backup/src/ui.ycp (original)
+++ branches/SuSE-Code-11-Branch/backup/src/ui.ycp Wed Jul 8 15:31:13 2009
@@ -1956,10 +1956,7 @@
}

if (Backup::cron_mode) {
- // in cron mode only wait for subprocess
- while ((string) SCR::Read (.process.read, backup_PID) != nil) {
- sleep(wait_time);
- }
+ sleep(wait_time);

ret = nil;
} else {
@@ -2076,14 +2073,7 @@

if (Backup::cron_mode == true)
{
- // in cron mode only wait for subprocess
- while ((boolean) SCR::Read (.process.running, backup_PID) || !
(boolean) SCR::Read (.process.buffer_empty, backup_PID))
- {
- while ((string) SCR::Read (.process.read, backup_PID) !=
nil) {
- // do nothing
- }
- sleep(wait_time);
- }
+ sleep(wait_time);

ret = nil;
}
@@ -2835,16 +2825,9 @@
}

if (Backup::cron_mode) {
- // in cron mode only wait for subprocess (and free space!)
- while (((boolean) SCR::Read (.process.running, backup_PID) || !
(boolean) SCR::Read (.process.buffer_empty, backup_PID)) &&
enough_free_space_tmp && enough_free_space_target) {
- while ((string) SCR::Read (.process.read_line, backup_PID)
!= nil) {
- // do nothing
- }
- sleep(wait_time);
- CheckFreeSpace();
- }
-
ret = nil;
+ sleep(wait_time);
+ CheckFreeSpace();
} else {
ret = waitForUserOrProcess(wait_time, `changed);
CheckFreeSpace();

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages