2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 2006-2009 Oracle. All rights reserved.
23 #ifndef HAVE_BREW_SDK2
27 FILE_MANAGER_CREATE(NULL, pIFileMgr, ret);
36 /* If AEE_SIMULATOR, we should mimic the resolvepath. */
37 if (IFILEMGR_Test(pIFileMgr, "fs:/") == SUCCESS)
38 /* Current directory. */
39 (void)strncpy(buf, "fs:/", size - 1);
42 NULL, pIFileMgr, NULL, "IFILEMGR_ResolvePath", ret);
44 #ifndef HAVE_BREW_SDK2
46 if (IFILEMGR_ResolvePath(pIFileMgr, ".", buf, &outlen) != SUCCESS)
48 NULL, pIFileMgr, NULL, "IFILEMGR_ResolvePath", ret);
52 IFILEMGR_Release(pIFileMgr);