[Box Backup-dev] COMMIT r698 - box/chris/general/bin/bbackupquery

Ben Summers boxbackup-dev at fluffy.co.uk
Sun Jul 30 14:43:17 BST 2006


On 27 Jul 2006, at 21:35, subversion at fluffy.co.uk wrote:

> Author: chris
> Date: 2006-07-27 20:35:18 +0000 (Thu, 27 Jul 2006)
> New Revision: 698
>
> Modified:
>    box/chris/general/bin/bbackupquery/BackupQueries.cpp
> Log:
> * BackupQueries.cpp
> - Restore_TargetPathNotFound should only be used on Win32


Why? Sounds like it should apply to all platforms.

Ben


>
>
> Modified: box/chris/general/bin/bbackupquery/BackupQueries.cpp
> ===================================================================
> --- box/chris/general/bin/bbackupquery/BackupQueries.cpp	2006-07-26  
> 23:15:01 UTC (rev 697)
> +++ box/chris/general/bin/bbackupquery/BackupQueries.cpp	2006-07-27  
> 20:35:18 UTC (rev 698)
> @@ -1895,11 +1895,13 @@
>  		printf("The target directory exists. You cannot restore over an  
> existing directory.\n");
>  		break;
>  		
> +	#ifdef WIN32
>  	case Restore_TargetPathNotFound:
>  		printf("The target directory path does not exist.\n"
>  			"To restore to a directory whose parent "
>  			"does not exist, create the parent first.\n");
>  		break;
> +	#endif
>
>  	default:
>  		printf("ERROR: Unknown restore result.\n");
>
> _______________________________________________
> Boxbackup-dev mailing list
> Boxbackup-dev at fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup-dev




More information about the Boxbackup-dev mailing list