diff options
author | Jindrich Novy <jnovy@redhat.com> | 2008-04-16 13:40:05 +0200 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2008-04-16 13:40:05 +0200 |
commit | 23f6917b10b6579f39199e4cf831bb13fc596824 (patch) | |
tree | 36d517bfd34dfb25d89d2477bac56e3560c772c6 /build.c | |
parent | 58fdb16e75b2200ba509f726f938493eb43d54ea (diff) | |
download | rpm-23f6917b10b6579f39199e4cf831bb13fc596824.tar.gz rpm-23f6917b10b6579f39199e4cf831bb13fc596824.tar.bz2 rpm-23f6917b10b6579f39199e4cf831bb13fc596824.zip |
Don't use mktemp(), we are sure mkstemp() is available now
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -112,11 +112,7 @@ static char * getTarSpec(const char *arg) specDir = rpmGetPath("%{_specdir}", NULL); tmpSpecFile = rpmGetPath("%{_specdir}/", "rpm-spec.XXXXXX", NULL); -#if defined(HAVE_MKSTEMP) (void) close(mkstemp(tmpSpecFile)); -#else - (void) mktemp(tmpSpecFile); -#endif for (try = tryspec; *try != NULL; try++) { FILE *fp; |