equal
deleted
inserted
replaced
1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1996-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
678 test(name1.Compare(name2)==0); // name should be unchanged |
678 test(name1.Compare(name2)==0); // name should be unchanged |
679 } |
679 } |
680 |
680 |
681 TInt E32Main() |
681 TInt E32Main() |
682 { |
682 { |
|
683 COMPLETE_POST_BOOT_SYSTEM_TASKS(); |
683 __KHEAP_MARK; |
684 __KHEAP_MARK; |
684 |
|
685 // Turn off lazy dll unloading |
|
686 RLoader l; |
|
687 test(l.Connect()==KErrNone); |
|
688 test(l.CancelLazyDllUnload()==KErrNone); |
|
689 l.Close(); |
|
690 |
685 |
691 TBuf16<512> cmd; |
686 TBuf16<512> cmd; |
692 User::CommandLine(cmd); |
687 User::CommandLine(cmd); |
693 if(cmd.Length() && TChar(cmd[0]).IsDigit()) |
688 if(cmd.Length() && TChar(cmd[0]).IsDigit()) |
694 { |
689 { |