[Box Backup-dev] COMMIT r891 - box/chris/merge/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Aug 31 23:33:05 BST 2006


Author: chris
Date: 2006-08-31 23:33:05 +0100 (Thu, 31 Aug 2006)
New Revision: 891

Modified:
   box/chris/merge/lib/common/UnixUser.cpp
Log:
Revert to trunk


Modified: box/chris/merge/lib/common/UnixUser.cpp
===================================================================
--- box/chris/merge/lib/common/UnixUser.cpp	2006-08-31 22:32:17 UTC (rev 890)
+++ box/chris/merge/lib/common/UnixUser.cpp	2006-08-31 22:33:05 UTC (rev 891)
@@ -75,7 +75,6 @@
 // --------------------------------------------------------------------------
 UnixUser::~UnixUser()
 {
-#ifndef WIN32
 	if(mRevertOnDestruction)
 	{
 		// Revert to "real" user and group id of the process
@@ -85,7 +84,6 @@
 			THROW_EXCEPTION(CommonException, CouldNotRestoreProcessUser)
 		}
 	}
-#endif
 }
 
 
@@ -100,7 +98,6 @@
 // --------------------------------------------------------------------------
 void UnixUser::ChangeProcessUser(bool Temporary)
 {
-#ifndef WIN32
 	if(Temporary)
 	{
 		// Change temporarily (change effective only)
@@ -122,7 +119,6 @@
 			THROW_EXCEPTION(CommonException, CouldNotChangeProcessUser)
 		}
 	}
-#endif
 }
 
 




More information about the Boxbackup-dev mailing list