Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Aug 28, 2015
1 parent b2bec44 commit 96c6f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/p5solv
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ sub download {
$url =~ s!/$!!;
$url .= "/$file";
open(my $f, '+>', undef) || die;
fcntl($f, Fcntl::F_SETFD, 0); # turn of CLOEXEC
fcntl($f, Fcntl::F_SETFD, 0); # turn off CLOEXEC
my $st = system('curl', '-f', '-s', '-L', '-o', "/dev/fd/" . fileno($f), '--', $url);
if (POSIX::lseek(fileno($f), 0, POSIX::SEEK_END) == 0 && ($st == 0 || !$chksum)) {
return undef;
Expand Down

0 comments on commit 96c6f95

Please sign in to comment.