[mathicgb] 169/393: Fix double-fclose bug diagnosed by Christian Eder.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.
commit 435edb104a9f9edb9d673fd13bcfca0b251b6bc5
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date: Thu Feb 14 16:43:15 2013 +0100
Fix double-fclose bug diagnosed by Christian Eder.
---
src/cli/MatrixAction.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cli/MatrixAction.cpp b/src/cli/MatrixAction.cpp
index b6484bb..dd7c75f 100644
--- a/src/cli/MatrixAction.cpp
+++ b/src/cli/MatrixAction.cpp
@@ -66,7 +66,7 @@ void MatrixAction::performAction() {
CFile file(quadFileName, "rb");
QuadMatrix matrix;
modulus = matrix.read(file.handle());
- fclose(file.handle());
+ file.close();
lowerRightMatrix = F4MatrixReducer(modulus).reduceToBottomRight(matrix);
if (!fileExists(lowerRightFileName)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git
More information about the debian-science-commits
mailing list