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:
parent
c0cf6c422d
commit
4ad99832b5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user