diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-27 07:42:21 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-27 07:42:21 +0000 |
commit | 4ad99832b547160c46b8a06d33cdc054d4a13154 (patch) | |
tree | 82b3677d53bd5df3df6324e485dd36a71fd40d72 /lib/libalpm/package.c | |
parent | c0cf6c422d96893436912d12dd651f3f971070ed (diff) | |
download | pacman-4ad99832b547160c46b8a06d33cdc054d4a13154.tar.xz |
renamed temp files from pacman_XXXXXX to alpm_XXXXXX
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r-- | lib/libalpm/package.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index aa61a05e..4e56b763 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -215,7 +215,7 @@ pmpkg_t *pkg_load(char *pkgfile) char *descfile; /* extract this file into /tmp. it has info for us */ - descfile = strdup("/tmp/pacman_XXXXXX"); + descfile = strdup("/tmp/alpm_XXXXXX"); mkstemp(descfile); tar_extract_file(tar, descfile); /* parse the info file */ @@ -243,7 +243,7 @@ pmpkg_t *pkg_load(char *pkgfile) char *str; MALLOC(str, PATH_MAX); - fn = strdup("/tmp/pacman_XXXXXX"); + fn = strdup("/tmp/alpm_XXXXXX"); mkstemp(fn); tar_extract_file(tar, fn); fp = fopen(fn, "r"); |