index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-05-31 02:51:28 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-05-31 02:51:28 -0400 |
commit | 7bd2ff685188d0d9b6ab6c6f43f6d28811936881 (patch) | |
tree | 30bbb96d2bbb8a6c63d9f7e7e6ac1c8b4b818148 /src/pacman/util.c | |
parent | 722db4535ae6690d8834ffebf3a0de3a880188f9 (diff) |
-rw-r--r-- | src/pacman/util.c | 4 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index f38be60c..e48ea10f 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -80,7 +80,7 @@ int getcols() } /* does the same thing as 'mkdir -p' */ -int makepath(char *path) +int makepath(const char *path) { char *orig, *str, *ptr; char full[PATH_MAX+1] = ""; @@ -112,7 +112,7 @@ int makepath(char *path) } /* does the same thing as 'rm -rf' */ -int rmrf(char *path) +int rmrf(const char *path) { int errflag = 0; struct dirent *dp; |