diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2017-07-08 21:04:17 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2017-07-08 21:04:17 +0200 |
commit | 9c113558ea6dc75850d67d93e7567abb5fbd5dc6 (patch) | |
tree | d91ebf14c189fa24b7565e90197db2df6a145236 /client | |
parent | c1b8ab65eb0e7f1cf94f45c9bd56ce05f3a66fb2 (diff) | |
parent | 8cdd29841d0dbb89e866aad36173bb26182d0c97 (diff) |
Merge branch 'master' into debian
Diffstat (limited to 'client')
-rwxr-xr-x | client | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,6 +18,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. #---------------------------------------------------------------------- +use v5.14.2; use strict; use warnings; @@ -62,9 +63,9 @@ my $COMMAND = shift @ARGV // die; # Untaint and fdopen(3) the configuration file and listening socket (shift @ARGV // die) =~ /\A(\d+)\z/ or die; -open my $CONFFILE, '<&=', $1 or die "fdopen $1: $!"; +open (my $CONFFILE, '<&=', $1+0) or die "fdopen $1: $!"; (shift @ARGV // die) =~ /\A(\d+)\z/ or die; -open my $S, '+<&=', $1 or die "fdopen $1: $!"; +open (my $S, '+<&=', $1+0) or die "fdopen $1: $!"; ############################################################################# |