# HG changeset patch # User William Roberts # Date 1270200515 -3600 # Node ID 541f844fab818c63c52f497540ea41b415a39641 # Parent 18da5738c9b67edfd0de16398cbb8893d088abcf# Parent 0f8d2eb4627b5b227b8df5f3cf8acfdd05da47a1 Updated fix for Bug 2109, to include the new /openc_signalserver_stub.sis diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/bwins/backendu.def --- a/genericopenlibs/openenvcore/backend/bwins/backendu.def Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/bwins/backendu.def Fri Apr 02 10:28:35 2010 +0100 @@ -169,3 +169,5 @@ _sigenable_r @ 168 NONAME _memcpy_r @ 169 NONAME _memmove_r @ 170 NONAME + _lstat_r @ 171 NONAME + diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/bwins/backendwolibrtu.def --- a/genericopenlibs/openenvcore/backend/bwins/backendwolibrtu.def Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/bwins/backendwolibrtu.def Fri Apr 02 10:28:35 2010 +0100 @@ -169,3 +169,5 @@ _sigenable_r @ 168 NONAME _memcpy_r @ 169 NONAME _memmove_r @ 170 NONAME + _lstat_r @ 171 NONAME + diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/bwins/old_backendu.def --- a/genericopenlibs/openenvcore/backend/bwins/old_backendu.def Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/bwins/old_backendu.def Fri Apr 02 10:28:35 2010 +0100 @@ -169,3 +169,5 @@ _sigenable_r @ 168 NONAME ABSENT _memcpy_r @ 169 NONAME _memmove_r @ 170 NONAME + _lstat_r @ 171 NONAME + diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/eabi/backendu.def --- a/genericopenlibs/openenvcore/backend/eabi/backendu.def Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/eabi/backendu.def Fri Apr 02 10:28:35 2010 +0100 @@ -173,3 +173,5 @@ _sigenable_r @ 172 NONAME _memcpy_r @ 173 NONAME _memmove_r @ 174 NONAME + _lstat_r @ 175 NONAME + diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/eabi/backendwolibrtu.def --- a/genericopenlibs/openenvcore/backend/eabi/backendwolibrtu.def Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/eabi/backendwolibrtu.def Fri Apr 02 10:28:35 2010 +0100 @@ -173,4 +173,5 @@ _sigenable_r @ 172 NONAME _memcpy_r @ 173 NONAME _memmove_r @ 174 NONAME + _lstat_r @ 175 NONAME diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/eabi/old_backendu.def --- a/genericopenlibs/openenvcore/backend/eabi/old_backendu.def Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/eabi/old_backendu.def Fri Apr 02 10:28:35 2010 +0100 @@ -173,4 +173,5 @@ _sigenable_r @ 172 NONAME ABSENT _memcpy_r @ 173 NONAME _memmove_r @ 174 NONAME + _lstat_r @ 175 NONAME diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/inc/sysif.h --- a/genericopenlibs/openenvcore/backend/inc/sysif.h Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/inc/sysif.h Fri Apr 02 10:28:35 2010 +0100 @@ -327,7 +327,7 @@ static int rmdir(RFs& aFs, const wchar_t* path, int& anErrno); static int chmod(RFs& aFs, const wchar_t* path, int perms, int& anErrno); static int reg_unlink(RFs& aFs, const wchar_t* path, int& anErrno); - static int stat(RFs& aFs, const wchar_t* name, struct stat* st, int& anErrno); + static int statbackend(RFs& aFs, const wchar_t* name, struct stat* st, int& anErrno); static int rename(RFs& aFs, const wchar_t* oldname, const wchar_t* newname, int& anErrno); static TInt ResolvePath(TParse& aResult, const wchar_t* path, TDes* aFilename); static TInt SetDefaultDir(RFs& aFs); @@ -425,6 +425,7 @@ int rmdir (const wchar_t* path, int& anErrno); int chmod (const wchar_t* path, int perms, int& anErrno); int stat (const wchar_t* name, struct stat* st, int& anErrno); + int lstat (const wchar_t* name, struct stat *st, int& anErrno); int rename (const wchar_t* oldname, const wchar_t* newname, int& anErrno); IMPORT_C TInt ResolvePath (TParse& aResult, const wchar_t* path, TDes* aFilename); diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/inc/sysreent.h --- a/genericopenlibs/openenvcore/backend/inc/sysreent.h Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/inc/sysreent.h Fri Apr 02 10:28:35 2010 +0100 @@ -106,6 +106,7 @@ IMPORT_C int _rmdir_r (int *, const wchar_t *); IMPORT_C int _wrmdir_r (int *, const wchar_t *); IMPORT_C int _stat_r (int *, const wchar_t *, struct stat *); +IMPORT_C int _lstat_r (int *, const wchar_t *, struct stat *); IMPORT_C int _wstat_r (int *, const wchar_t *, struct stat *); IMPORT_C int _unlink_r (int *, const wchar_t *); IMPORT_C int _wunlink_r (int *, const wchar_t *); diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/src/corebackend/fdesc.cpp --- a/genericopenlibs/openenvcore/backend/src/corebackend/fdesc.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/src/corebackend/fdesc.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -117,15 +117,21 @@ else //It's a special file, directory or normal file { RFs& rfs = Backend()->FileSession(); - TSpecialFileType fileType = _SystemSpecialFileBasedFilePath(name, err, rfs); - if(fileType == EFileTypeMkFifo) //special file, FIFO - { - ret = CFileTable::FifoOpen(name, mode, perms, err); - } - else if(fileType == EFileTypeSymLink) //special file, symlink - { - ret = CFileTable::LinkOpen(name, mode, perms, err, rfs); - } + TUint attribval; + TPtrC16 filename1 = (const TText16*)name; + int ret1 = rfs.Att(filename1, attribval); + if (ret1 == 0 && ((attribval & (KEntryAttHidden | KEntryAttSystem))== (KEntryAttHidden | KEntryAttSystem))) + { + TSpecialFileType fileType = _SystemSpecialFileBasedFilePath(name, err, rfs); + if(fileType == EFileTypeMkFifo) //special file, FIFO + { + ret = CFileTable::FifoOpen(name, mode, perms, err); + } + else if(fileType == EFileTypeSymLink) //special file, symlink + { + ret = CFileTable::LinkOpen(name, mode, perms, err, rfs); + } + } else //normal file or directory { TFullName fullName; @@ -634,14 +640,14 @@ int mapped=MapMode(mode, fMode); // if the file is in \sys, use EFileShareReadersOnly not EFileShareReadersOrWriters TParsePtrC pars(aName); - if (pars.Path().FindC(_L("\\SYS\\")) == 0) + if (pars.Path().FindF(_L("\\SYS\\")) == 0) { fMode &= ~EFileShareReadersOrWriters; fMode |= EFileShareReadersOnly; } // if the file is in \resource, dont use EFileShareReadersOrWriters - if (pars.Path().FindC(_L("\\resource\\")) == 0) + if (pars.Path().FindF(_L("\\resource\\")) == 0) { fMode &= ~EFileShareReadersOrWriters; fMode |= EFileShareReadersOnly; diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/src/corebackend/localif.cpp --- a/genericopenlibs/openenvcore/backend/src/corebackend/localif.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/src/corebackend/localif.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -31,6 +31,8 @@ #include "fdesc.h" #include "ltime.h" #include "lposix.h" +#include "systemspecialfilercg.h" +#include "link.h" #ifdef SYMBIAN_OE_POSIX_SIGNALS #include #include @@ -296,9 +298,12 @@ void CLocalSystemInterface::Exit(int code) { #ifdef SYMBIAN_OE_POSIX_SIGNALS + TRequestStatus status = KRequestPending; + iSignalHandlerThread.Logon(status); iSignalLoopRunning = EFalse; + iSignalHandlerThread.RequestSignal(); + User::WaitForRequest(status); #endif - iFids.Close(); User::SetCritical(User::EProcessPermanent); User::Exit(code); @@ -327,9 +332,39 @@ } int CLocalSystemInterface::stat (const wchar_t* name, struct stat *st, int& anErrno) - { - return PosixFilesystem::stat(iFs, name, st, anErrno); - } + { + const wchar_t* filename = name; + TSpecialFileType fileType; + struct SLinkInfo enBuf; + TInt err = 0; + // Check the type of file + fileType = _SystemSpecialFileBasedFilePath(name, err, iFs); + // If it is a symbolic link, follow the link + // If _SystemSpecialFileBasedFilePath fails, treat it as normal file + // and try to proceed + if( fileType == EFileTypeSymLink && err == KErrNone ) + { + err = _ReadSysSplFile(name, (char*)&enBuf, sizeof(struct SLinkInfo), anErrno, iFs); + if (err == KErrNone) + { + filename = (wchar_t*)enBuf.iParentPath; + } + else + { + return -1; + } + } + else if ( fileType != EFileGeneralError && err != KErrNone ) + { + return MapError(err,anErrno); + } + return PosixFilesystem::statbackend(iFs, filename, st, anErrno); + } + +int CLocalSystemInterface::lstat (const wchar_t* name, struct stat *st, int& anErrno) + { + return PosixFilesystem::statbackend(iFs, name, st, anErrno); + } int CLocalSystemInterface::utime (const wchar_t* name, const struct utimbuf *filetimes, int& anErrno) { @@ -540,7 +575,10 @@ iSignalInitSemaphore.Signal(); return lRetVal; } - + + /* Closing the end of the pipe that's been sent to the server */ + iSignalWritePipe.Close(); + iSignalsInitialized = ETrue; iSignalInitSemaphore.Signal(); iSignalLoopRunning = ETrue; @@ -549,6 +587,9 @@ while(iSignalLoopRunning) { User::WaitForAnyRequest(); + if(iSignalLoopRunning == false) { + break; + } // Check if it is a pipe read if(iPipeReadStatus != KRequestPending) { @@ -707,6 +748,8 @@ { iSignalReadPipe.CancelDataAvailable(); } + iSignalReadPipe.Close(); + if(iAlarmStatus == KRequestPending) { iAlarmTimer.Cancel(); @@ -720,10 +763,11 @@ if(lProcess.Open(TProcessId(iChildWaiterArray[lCounterIdx].iWaiterPid)) == KErrNone) { lProcess.LogonCancel(iChildWaiterArray[lCounterIdx].iWaiterStatus); + lProcess.Close(); } } - } - + } + iSignalSession.Close(); return KErrNone; } diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/src/corebackend/posixfs.cpp --- a/genericopenlibs/openenvcore/backend/src/corebackend/posixfs.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/src/corebackend/posixfs.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -268,7 +268,7 @@ return MapError(err,anErrno); } -int PosixFilesystem::stat (RFs& aFs, const wchar_t* name, struct stat *st, int& anErrno) +int PosixFilesystem::statbackend (RFs& aFs, const wchar_t* name, struct stat *st, int& anErrno) { TFullName fullName; TInt err=0; @@ -323,8 +323,9 @@ #endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */ st->st_dev = st->st_rdev = (dev_t)TDriveUnit(fullName); - if( !(entry.iAtt & (KEntryAttHidden | KEntryAttSystem)) || (entry.iAtt & KEntryAttDir)) - { + if( ( (entry.iAtt & (KEntryAttHidden | KEntryAttSystem)) != (KEntryAttHidden | KEntryAttSystem) ) + || (entry.iAtt & KEntryAttDir)) + { CFileDesc::MapStat(*st, entry.iModified, entry.iAtt); } else diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/src/signalserver/server/signalserver.cpp --- a/genericopenlibs/openenvcore/backend/src/signalserver/server/signalserver.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/src/signalserver/server/signalserver.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -158,6 +158,7 @@ RProcess lProcHdl; if(lProcHdl.Open(lPid) != KErrNone) { + iProcessHdlList[lIdx].mPipe.Close(); iProcessHdlList.Remove(lIdx); } else @@ -261,6 +262,9 @@ aMessage.Complete(KErrGeneral); } aMessage.Complete(KErrNone); + + lProcess.Close(); + lClientThread.Close(); break; default: aMessage.Complete(KErrNotSupported); diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/src/syscall/handlefms.cpp --- a/genericopenlibs/openenvcore/backend/src/syscall/handlefms.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/src/syscall/handlefms.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -167,6 +167,13 @@ return Backend()->stat(name, st, *aErrno); } +/* A reentrant version of lstat(). +*/ +EXPORT_C int _lstat_r (int *aErrno, const wchar_t *name, struct stat *st) + { + return Backend()->lstat(name, st, *aErrno); + } + EXPORT_C int _utime_r (int *aErrno, const wchar_t *name,const struct utimbuf *filetimes) { return Backend()->utime(name, filetimes, *aErrno); diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/backend/test/testbackenddes/group/tbackenddes.mmp --- a/genericopenlibs/openenvcore/backend/test/testbackenddes/group/tbackenddes.mmp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/backend/test/testbackenddes/group/tbackenddes.mmp Fri Apr 02 10:28:35 2010 +0100 @@ -31,7 +31,7 @@ USERINCLUDE ..\..\..\inc USERINCLUDE ..\..\..\ipcserver\ipccli\inc - +MW_LAYER_SYSTEMINCLUDE_SYMBIAN OS_LAYER_SYSTEMINCLUDE_SYMBIAN OS_LAYER_LIBC_SYSTEMINCLUDE diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/include/sys/cdefs.h --- a/genericopenlibs/openenvcore/include/sys/cdefs.h Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/include/sys/cdefs.h Fri Apr 02 10:28:35 2010 +0100 @@ -338,9 +338,7 @@ (__offsetof__ (type,field)) #endif #else -#define __offsetof(type, field) (reinterpret_cast \ - (&reinterpret_cast \ - (static_cast (0)->field))) +#define __offsetof(type, field) ((size_t)(&((type *)0)->field)) #endif #endif diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/include/wchar.h --- a/genericopenlibs/openenvcore/include/wchar.h Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/include/wchar.h Fri Apr 02 10:28:35 2010 +0100 @@ -337,6 +337,7 @@ #define _A_NORMAL 0x0000 //Normal. File has no other attributes set and can be read or written to without restriction. Value: 0x00. #define _A_RDONLY 0x0001 //Read-only. File cannot be opened for writing and a file with the same name cannot be created. Value: 0x01. #define _A_SYSTEM 0x0004 //System file. Not normally seen with the DIR command, unless the /A or /A:S option is used +#define _A_SUBDIR 0x0010 // Subdirectory. IMPORT_C size_t wcslcat(wchar_t *, const wchar_t *, size_t); IMPORT_C size_t wcslcpy(wchar_t *, const wchar_t *, size_t); diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/libc/src/link.cpp --- a/genericopenlibs/openenvcore/libc/src/link.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/libc/src/link.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -179,9 +179,20 @@ EXPORT_C int lstat(const char *file_name, struct stat *buf) { - return stat(file_name, buf); + if(!buf) + { + errno = EFAULT ; + return -1 ; + } + + wchar_t tmpbuf[MAXPATHLEN+1]; + if ((size_t)-1 != mbstowcs(tmpbuf, file_name, MAXPATHLEN)) + { + return _lstat_r(&errno, tmpbuf, buf); + } + errno = EILSEQ; + return -1; } - EXPORT_C int __xstat(int /*vers*/, const char *file, struct stat *buf) { return stat(file, buf); @@ -189,7 +200,7 @@ EXPORT_C int __lxstat (int /*version*/, const char *file, struct stat *buf) { - return stat(file, buf); + return lstat(file, buf); } diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/libc/src/wfindfirst.cpp --- a/genericopenlibs/openenvcore/libc/src/wfindfirst.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/libc/src/wfindfirst.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2005-2010 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" @@ -67,68 +67,115 @@ #include #include -#include #include #include "sysif.h" - +#include #include #include -#define MAXPATHLEN 260 +#define MAXPATHLEN 260 +#define ATTMASK (_A_ARCH|_A_HIDDEN|_A_NORMAL|_A_RDONLY|_A_SYSTEM|_A_SUBDIR ) + +class CFindFileByPath : public CBase + { + public: + CFindFileByPath(RFs& aFs) : iFinder(aFs),iLastCount(-1) + { + } + ~CFindFileByPath() + { + delete iDir; + iDir = NULL; + } + const TEntry& Entry() + { + return (*iDir)[iLastCount]; + } + TInt FindFirst(const TDesC&,const TDesC&); + TInt FindNext(); + private: + TFindFile iFinder; + CDir* iDir; + TInt iLastCount; + TBuf iPath; + }; + +TInt CFindFileByPath::FindFirst(const TDesC &aPattern, const TDesC& aPath) + { + iPath = aPath; + TInt ret = iFinder.FindWildByPath(aPattern,&iPath,iDir); + if(ret != KErrNone) + { + return ret; + } + return FindNext(); + } + +TInt CFindFileByPath::FindNext() + { + TInt count = iDir->Count(); +// Results from the search either in pattern path or in the cwd. + if(++iLastCountname ,(wchar_t *)aFinder.Entry().iName.Ptr()); + TInt k = aFinder.Entry().iName.Size()/sizeof(wchar_t); + aFileinfo->name[k] = L'\0'; + + + aFileinfo->size = aFinder.Entry().iSize; + + // Unmask unnecessary attributes in iAtt. + // All constant definitions are in sync with what is expected in finddata structure. + aFileinfo->attrib = aFinder.Entry().iAtt; + aFileinfo->attrib &= (ATTMASK); + + time_t time_modify = as_time_t(aFinder.Entry().iModified); + aFileinfo->time_write = time_modify; + + aFileinfo->time_create = -1L; + aFileinfo->time_access = -1L; + + } extern "C" { - //RFs FileServerSession ; + //RFs FileServerSession ; EXPORT_C intptr_t wfindfirst(const wchar_t* filespec, struct _wfinddata_t* fileinfo) { if(!filespec||!fileinfo) return EINVAL; - long handle = -1; + long handle = -1; wchar_t *dirf =(wchar_t*)malloc(MAXPATHLEN * sizeof(wchar_t)); // getting the cuurent directory wgetcwd(dirf,MAXPATHLEN); TPtrC16 dird((const TUint16*)dirf); // converting it into descriptor TPtrC16 fsd((const TUint16*)filespec ); - TUidType uid(KNullUid, KNullUid, KNullUid); - //FileServerSession.Connect() ; - - CFindFileByType *temp1= new CFindFileByType(Backend()->FileSession()); // #include + + CFindFileByPath *temp1= new CFindFileByPath(Backend()->FileSession()); if(temp1== NULL) - { - return EINVAL; - } - int k = temp1->FindFirst(fsd,dird,uid); + { + return EINVAL; + } + int k = temp1->FindFirst(fsd,dird); if(k==KErrNone) - { - - wcscpy(fileinfo->name ,(wchar_t *)temp1->Entry().iName.Ptr()); - k = temp1->Entry().iName.Size()/sizeof(wchar_t); - fileinfo->name[k] = L'\0'; - - - fileinfo->size = temp1->Entry().iSize; - - fileinfo->attrib = temp1->Entry().iAtt; // we have to eport defined - //also like KEntryAttNormal all this are availabel in f32file.h one - //attribte _A_SUBDIR will not be suuported - - time_t time_modify = as_time_t(temp1->Entry().iModified); - fileinfo->time_write = time_modify; - - fileinfo->time_create = -1L; - fileinfo->time_access = -1L; - - - handle = reinterpret_cast(temp1); - } + { + UpdateFileInfo(fileinfo,*temp1); + handle = reinterpret_cast(temp1); + } else - { - handle = -1; - errno = ENOENT ; - } - delete dirf; // delete directory pointer - //FileServerSession.Close(); - + { + handle = -1; + delete temp1; + errno = ENOENT ; + } + delete dirf; // delete directory pointer return handle; } @@ -136,37 +183,33 @@ EXPORT_C intptr_t wfindnext(intptr_t handle, struct _wfinddata_t * fileinfo) { - if((handle<=0)||!fileinfo) - return EINVAL; - - CFindFileByType *temp1 = reinterpret_cast(handle); - int k = temp1->FindNext(); - if(KErrNone==k) - { - wcscpy(fileinfo->name , (wchar_t *)temp1->Entry().iName.Ptr()); - k = temp1->Entry().iName.Size()/sizeof(wchar_t); - fileinfo->name[k] = L'\0'; - fileinfo->size = temp1->Entry().iSize; - return 0; - } - else - { - errno = ENOENT ; - return -1; - } + if((handle<=0)||!fileinfo) + return EINVAL; + + CFindFileByPath *temp1 = reinterpret_cast(handle); + int k = temp1->FindNext(); + if(KErrNone==k) + { + UpdateFileInfo(fileinfo,*temp1); + return 0; + } + else + { + errno = ENOENT ; + return -1; + } } - + EXPORT_C int findclose( intptr_t handle) { - if(handle <=0) - { - errno = ENOENT ; - return -1; - } - CFindFileByType *temp1 = reinterpret_cast(handle); - //FileServerSession.Close(); - delete temp1; - return 0; + if(handle <=0) + { + errno = ENOENT ; + return -1; + } + CFindFileByPath *temp1 = reinterpret_cast(handle); + delete temp1; + return 0; } } diff -r 0f8d2eb4627b -r 541f844fab81 genericopenlibs/openenvcore/libc/test/teststdlib/group/tstdlib.mmp --- a/genericopenlibs/openenvcore/libc/test/teststdlib/group/tstdlib.mmp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericopenlibs/openenvcore/libc/test/teststdlib/group/tstdlib.mmp Fri Apr 02 10:28:35 2010 +0100 @@ -33,7 +33,7 @@ //USERINCLUDE . - +MW_LAYER_SYSTEMINCLUDE_SYMBIAN OS_LAYER_SYSTEMINCLUDE_SYMBIAN OS_LAYER_LIBC_SYSTEMINCLUDE diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/hwrm/HWRMPluginService.inl --- a/genericservices/s60compatibilityheaders/hwrm/HWRMPluginService.inl Tue Mar 02 20:01:33 2010 +0000 +++ b/genericservices/s60compatibilityheaders/hwrm/HWRMPluginService.inl Fri Apr 02 10:28:35 2010 +0100 @@ -11,15 +11,6 @@ // Contributors: // // Description: -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of the License "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// Initial Contributors: -// Nokia Corporation - initial contribution. -// Contributors: -// // stub header file - use Symbian supplied version instead #include diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/proximity/bld.inf --- a/genericservices/s60compatibilityheaders/sensors/proximity/bld.inf Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -//#include - -#include "../../group/common.inf" - -PRJ_PLATFORMS -DEFAULT - -PRJ_EXPORTS -./sensrvproximitysensor.h OSEXT_LAYER_SDK_EXPORT_PATH(sensrvproximitysensor.h) - -./prxssy.iby S60_CORE_OSEXT_LAYER_IBY_EXPORT_PATH(prxssy.iby) diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/proximity/prxssy.iby --- a/genericservices/s60compatibilityheaders/sensors/proximity/prxssy.iby Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// sensorserver.iby -// -// - -#include diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/proximity/sensrvproximitysensor.h --- a/genericservices/s60compatibilityheaders/sensors/proximity/sensrvproximitysensor.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// sensrvchannel.h -// -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/bld.inf --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/bld.inf Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -#include "../../group/common.inf" - - -PRJ_PLATFORMS -DEFAULT - -PRJ_EXPORTS -./sensrvconditionevaluator.h S60_DOMAIN_OSEXT_ROOT(sensrvconditionevaluator.h) -./sensrvconditionevaluator.inl S60_DOMAIN_OSEXT_ROOT(sensrvconditionevaluator.inl) -./sensrvresource.hrh S60_DOMAIN_OSEXT_ROOT(sensrvresource.hrh) -./ssychanneldataprovider.h S60_DOMAIN_OSEXT_ROOT(ssychanneldataprovider.h) -./ssypropertyprovider.h S60_DOMAIN_OSEXT_ROOT(ssypropertyprovider.h) -./ssycallback.h S60_DOMAIN_OSEXT_ROOT(ssycallback.h) -./ssycontrol.h S60_DOMAIN_OSEXT_ROOT(ssycontrol.h) -./ssycontrol.inl S60_DOMAIN_OSEXT_ROOT(ssycontrol.inl) - -./sensrvchannel.h S60_OSEXT_ROOT(sensrvchannel.h) -./sensrvchannelcondition.h S60_OSEXT_ROOT(sensrvchannelcondition.h) -./sensrvchannelconditionlistener.h S60_OSEXT_ROOT(sensrvchannelconditionlistener.h) -./sensrvchannelconditionset.h S60_OSEXT_ROOT(sensrvchannelconditionset.h) -./sensrvchannelfinder.h S60_OSEXT_ROOT(sensrvchannelfinder.h) -./sensrvchannelinfo.h S60_OSEXT_ROOT(sensrvchannelinfo.h) -./sensrvchannellistener.h S60_OSEXT_ROOT(sensrvchannellistener.h) -./sensrvdatalistener.h S60_OSEXT_ROOT(sensrvdatalistener.h) -./sensrvgeneralproperties.h S60_OSEXT_ROOT(sensrvgeneralproperties.h) -./sensrvproperty.h S60_OSEXT_ROOT(sensrvproperty.h) -./sensrvpropertylistener.h S60_OSEXT_ROOT(sensrvpropertylistener.h) -./sensrvtypes.h S60_OSEXT_ROOT(sensrvtypes.h) - -./sensorserver.iby S60_CORE_OSEXT_LAYER_IBY_EXPORT_PATH(sensorserver.iby) - - diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensorserver.iby --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensorserver.iby Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -#include diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannel.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannel.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelcondition.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelcondition.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelconditionlistener.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelconditionlistener.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelconditionset.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelconditionset.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelfinder.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelfinder.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelinfo.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannelinfo.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannellistener.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvchannellistener.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvconditionevaluator.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvconditionevaluator.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvconditionevaluator.inl --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvconditionevaluator.inl Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvdatalistener.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvdatalistener.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvgeneralproperties.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvgeneralproperties.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvproperty.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvproperty.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvpropertylistener.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvpropertylistener.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvresource.hrh --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvresource.hrh Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvtypes.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/sensrvtypes.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File \ No newline at end of file diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/ssycallback.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/ssycallback.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/ssychanneldataprovider.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/ssychanneldataprovider.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/ssycontrol.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/ssycontrol.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/ssycontrol.inl --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/ssycontrol.inl Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/s60compatibilityheaders/sensors/sensorframework/ssypropertyprovider.h --- a/genericservices/s60compatibilityheaders/sensors/sensorframework/ssypropertyprovider.h Tue Mar 02 20:01:33 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// Copyright (c) 2008-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" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -// stub header file - use Symbian supplied version instead -#include - -// End of File diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/systemagent/Inc/SaCls.h --- a/genericservices/systemagent/Inc/SaCls.h Tue Mar 02 20:01:33 2010 +0000 +++ b/genericservices/systemagent/Inc/SaCls.h Fri Apr 02 10:28:35 2010 +0100 @@ -365,6 +365,16 @@ */ const TUint KUidBackupRestoreKey = 0x10202792; +/** +This is the publish and subscribe property used by Secure Software Install to +Publish package UIDs which are currently being processed. The publish and subscribe key is defined by +SysAgent2 server, but we do not want to have a dependency to the security subsystem, so we define a +constant in sacls.h , By doing this it will be available for Core OS layer components. + +@publishedAll +@released +*/ +const TUint KSWIUidsCurrentlyBeingProcessed= 0x2002D4F4; // Deprecated - redundant method no longer used by system software IMPORT_C TInt StartSysAgt2(); diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/systemagent/src/server/sysagt2svr.cpp --- a/genericservices/systemagent/src/server/sysagt2svr.cpp Tue Mar 02 20:01:33 2010 +0000 +++ b/genericservices/systemagent/src/server/sysagt2svr.cpp Fri Apr 02 10:28:35 2010 +0100 @@ -136,6 +136,8 @@ DefinePSPropertyL(KUidSystemCategory, KSAUidSoftwareInstallKeyValue, RProperty::EInt, KSecurityPolicyNone, KSecurityPolicySwiSIDTrustedUi, 0); DefinePSPropertyL(KUidSystemCategory, KUidSwiLatestInstallation, RProperty::EInt, KSecurityPolicyNone, KSecurityPolicySwiSIDTrustedUi, 0); + + DefinePSPropertyL(KUidSystemCategory, KSWIUidsCurrentlyBeingProcessed, RProperty::EByteArray, KSecurityPolicyNone, KSecurityPolicySwiSIDTrustedUi, 0); } diff -r 0f8d2eb4627b -r 541f844fab81 genericservices/taskscheduler/group/backup_registration.xml --- a/genericservices/taskscheduler/group/backup_registration.xml Tue Mar 02 20:01:33 2010 +0000 +++ b/genericservices/taskscheduler/group/backup_registration.xml Fri Apr 02 10:28:35 2010 +0100 @@ -2,10 +2,10 @@