[INTERPRETER]
* BUG: Application.Dir is correctly declared now. Consequently, it will work with JIT compiler. git-svn-id: svn://localhost/gambas/trunk@7467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
5489dc01ee
commit
e6bc6243e1
1 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ END_PROPERTY
|
|||
BEGIN_PROPERTY(Application_Env_Count)
|
||||
|
||||
int n = 0;
|
||||
|
||||
|
||||
while(environ[n])
|
||||
n++;
|
||||
|
||||
|
@ -221,7 +221,7 @@ END_METHOD
|
|||
static void init_again(int old_pid)
|
||||
{
|
||||
char old[PATH_MAX];
|
||||
|
||||
|
||||
FILE_remove_temp_file();
|
||||
snprintf(old, sizeof(old),FILE_TEMP_DIR, getuid(), old_pid);
|
||||
rename(old, FILE_make_temp(NULL, NULL));
|
||||
|
@ -325,7 +325,7 @@ GB_DESC NATIVE_App[] =
|
|||
GB_STATIC_PROPERTY_READ("Id", "i", Application_Id),
|
||||
GB_STATIC_PROPERTY_READ("Handle", "i", Application_Id),
|
||||
GB_STATIC_PROPERTY_READ("Version", "s", Application_Version),
|
||||
GB_STATIC_PROPERTY_READ("Dir", "i", Application_Dir),
|
||||
GB_STATIC_PROPERTY_READ("Dir", "s", Application_Dir),
|
||||
GB_STATIC_PROPERTY("Daemon", "b", Application_Daemon),
|
||||
GB_STATIC_PROPERTY_READ("Startup", "Class", Application_Startup),
|
||||
GB_STATIC_PROPERTY("Priority", "i", Application_Priority),
|
||||
|
|
Loading…
Reference in a new issue