static char *path_new(const char *dir, const char *file, const char *suffixe)
{
- char *path = malloc(strlen(dir)+1+
- strlen(file)+
- (suffixe ? strlen(suffixe) : 0) +
- 1);
+ char *path;
+
+ /* [dir]/[file][suffixe] */
+ path = malloc(strlen(dir)+1+
+ strlen(file)+
+ (suffixe ? strlen(suffixe) : 0) +
+ 1);
strcpy(path, dir);
strcat(path, "/");