version 1.1 | version 1.2 | |||
---|---|---|---|---|
|
| |||
/*** can read directory ? ***/ | /*** can read directory ? ***/ | |||
pathcpy(self->directory,directory); | pathcpy(self->directory,directory); | |||
if(access(self->directory,R_OK | X_OK) == -1) { | if(access(self->directory,R_OK | X_OK) == -1) { | |||
Malfunction(self,"has no acces"); | Malfunction(self,"has no access"); | |||
return NULL; | return NULL; | |||
} | } | |||
Legend:
|