diff options
author | root <devnull@localhost> | 1996-03-29 01:26:20 +0000 |
---|---|---|
committer | root <devnull@localhost> | 1996-03-29 01:26:20 +0000 |
commit | d4a59f62c7def30a70c966bf4f860a159ece4287 (patch) | |
tree | c918168b304459a4f4360b08ebff6f9874f6cd29 /lib/signature.c | |
parent | 1bd9ff15cc40281a2137336f2ef195f48dda5164 (diff) | |
download | librpm-tizen-d4a59f62c7def30a70c966bf4f860a159ece4287.tar.gz librpm-tizen-d4a59f62c7def30a70c966bf4f860a159ece4287.tar.bz2 librpm-tizen-d4a59f62c7def30a70c966bf4f860a159ece4287.zip |
use /var/tmp
CVS patchset: 492
CVS date: 1996/03/29 01:26:20
Diffstat (limited to 'lib/signature.c')
-rw-r--r-- | lib/signature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/signature.c b/lib/signature.c index b73b1b63e..eb87e8def 100644 --- a/lib/signature.c +++ b/lib/signature.c @@ -239,13 +239,13 @@ static int verifyPGPSignature(int fd, void *sig, char *result) FILE *file; /* Write out the signature */ - sigfile = tempnam("/usr/tmp", "rpmsig"); + sigfile = tempnam("/var/tmp", "rpmsig"); sfd = open(sigfile, O_WRONLY|O_CREAT|O_TRUNC, 0644); write(sfd, sig, 152); close(sfd); /* Write out the data */ - datafile = tempnam("/usr/tmp", "rpmsig"); + datafile = tempnam("/var/tmp", "rpmsig"); sfd = open(datafile, O_WRONLY|O_CREAT|O_TRUNC, 0644); while((count = read(fd, buf, 8192)) > 0) { write(sfd, buf, count); |