--- a/traceservices/tracefw/ulogger/src/sysconfig/configfilemanager.cpp Wed Sep 15 14:05:58 2010 +0300
+++ b/traceservices/tracefw/ulogger/src/sysconfig/configfilemanager.cpp Wed Oct 13 16:30:44 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -107,14 +107,12 @@
TInt error= fs.MkDir(fileName);
if(error==KErrNone || error== KErrAlreadyExists)
{
- CleanupClosePushL(fs);
CFileMan* fMan = CFileMan::NewL(fs);
CleanupStack::PushL(fMan);
fileName.Append(KConfigFilename);
User::LeaveIfError(fMan->Copy(KDefaultConfigFilePath, fileName, CFileMan::EOverWrite) );
CleanupStack::PopAndDestroy(fMan);
User::LeaveIfError(fs.SetAtt(fileName,0, KEntryAttReadOnly));
- CleanupStack::Pop(&fs);
}
fs.Close();
aFilePath.Zero();