version 1.350, 2004/10/13 09:44:41
|
version 1.351, 2004/11/22 16:27:06
|
Line 4031 void InitAmayaCache (void)
|
Line 4031 void InitAmayaCache (void)
|
erasing everything by accident */ |
erasing everything by accident */ |
ptr = TempFileDirectory; |
ptr = TempFileDirectory; |
can_erase = TRUE; |
can_erase = TRUE; |
|
#ifdef _UNIX |
while (*ptr && can_erase) |
while (*ptr && can_erase) |
{ |
{ |
if (*ptr == '.') |
if (*ptr == '.') |
Line 4043 void InitAmayaCache (void)
|
Line 4044 void InitAmayaCache (void)
|
} |
} |
else if (*ptr == '~') |
else if (*ptr == '~') |
can_erase = FALSE; |
can_erase = FALSE; |
else if (!isalnum (*ptr) && *ptr != DIR_SEP && *ptr != ':') |
else if (!isalnum (*ptr) && *ptr != SPACE && *ptr != DIR_SEP && *ptr != ':') |
can_erase = FALSE; |
can_erase = FALSE; |
ptr++; |
ptr++; |
} |
} |
|
#endif /* _UNIX */ |
|
|
/* Detect if it's a unique instance */ |
/* Detect if it's a unique instance */ |
AmayaUniqueInstance = CheckSingleInstance (str); |
AmayaUniqueInstance = CheckSingleInstance (str); |