Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-27 07:42:21 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-27 07:42:21 +0000
commit4ad99832b547160c46b8a06d33cdc054d4a13154 (patch)
tree82b3677d53bd5df3df6324e485dd36a71fd40d72 /lib
parentc0cf6c422d96893436912d12dd651f3f971070ed (diff)
renamed temp files from pacman_XXXXXX to alpm_XXXXXX
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/package.c4
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");