1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

Code formatting

This commit is contained in:
Aurelien Foret 2005-03-16 21:52:49 +00:00
parent ad4ab9e50c
commit 6d703ec8cb

View File

@ -51,7 +51,7 @@ int makepath(char *path)
strcat(full, "/"); strcat(full, "/");
strcat(full, ptr); strcat(full, ptr);
if(stat(full, &buf)) { if(stat(full, &buf)) {
if(mkdir(full, 0755)) { if(mkdir(full, 0755)) {
free(orig); free(orig);
umask(oldmask); umask(oldmask);
return(1); return(1);