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

renamed temp files from pacman_XXXXXX to alpm_XXXXXX

This commit is contained in:
Aurelien Foret 2005-03-27 07:42:21 +00:00
parent c0cf6c422d
commit 4ad99832b5

View File

@ -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");