Lines Matching full:directoryname
442 int static_checkStorageDirAndAccessRights(char * directoryName)
450 if (directoryName == NULL)
456 checkAccess = malloc(strlen(directoryName)+1/* \ */ +1 /* a */ + 1 /* 0 */);
459 LogError("storageDir '%s' allocation error", directoryName);
462 sprintf(checkAccess,"%s\\a",directoryName);
466 LogError("storageDir '%s' is incorrect or cannot be reached", directoryName);
476 if (directoryName == NULL)
482 result = stat(directoryName, &buf);
489 LogError("storageDir '%s' does not have read-write access", directoryName);
496 LogError("storageDir '%s' does not exist", directoryName);
502 LogError("storageDir '%s' is incorrect or cannot be reached", directoryName);