From 2d7ba714ac56971ea8c3235f4f118da0ecf939fd Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Fri, 3 Jun 2016 00:36:35 -0700 Subject: [PATCH] Oops, open_tempfile and open_lock_tempfile are not open(), so shouldn't be three argument style (for now). --- bind8/create_slave.cgi | 2 +- bind8/save_manual.cgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bind8/create_slave.cgi b/bind8/create_slave.cgi index f63f61a05..05e7da283 100755 --- a/bind8/create_slave.cgi +++ b/bind8/create_slave.cgi @@ -90,7 +90,7 @@ elsif ($in{'file_def'} == 2) { } if ($file) { my $ZONE; - &open_tempfile($ZONE, ">", &make_chroot($file), 1, 1) || + &open_tempfile($ZONE, ">". &make_chroot($file), 1, 1) || &error(&text('create_efile3', $file, $!)); &close_tempfile($ZONE); &set_ownership(&make_chroot($file)); diff --git a/bind8/save_manual.cgi b/bind8/save_manual.cgi index 763470861..11252ef6f 100755 --- a/bind8/save_manual.cgi +++ b/bind8/save_manual.cgi @@ -20,7 +20,7 @@ if ($in{'file'} eq $files[0]) { # Write to it my $DATA; -&open_lock_tempfile($DATA, ">", &make_chroot($in{'file'})); +&open_lock_tempfile($DATA, ">".&make_chroot($in{'file'})); &print_tempfile($DATA, $in{'data'}); &close_tempfile($DATA);