1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

biology/jellyfish: Fix unused open mode variable

PR:             258397
Reported by:    dim
This commit is contained in:
Jason W. Bacon 2021-09-11 07:29:47 -05:00
parent 024d2990b0
commit 696f6acf5d
2 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= Jellyfish
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org

View File

@ -0,0 +1,11 @@
--- include/jellyfish/dumper.hpp.orig 2021-09-11 12:09:13 UTC
+++ include/jellyfish/dumper.hpp
@@ -54,7 +54,7 @@ class dumper_t { (protected)
}
file_names_.push_back(name.str());
- out.open(name.str().c_str());
+ out.open(name.str().c_str(), mode);
if(out.fail())
throw ErrorWriting(err::msg() << "'" << name.str() << "': "
<< "Can't open file for writing" << err::no);