[freemat] 04/04: Fix failure to start if ~/Private exists

Graham Inggs ginggs at moszumanska.debian.org
Wed Jun 7 20:45:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

ginggs pushed a commit to branch master
in repository freemat.

commit f36da0ebf093c82c3f5994ca05fe2abbe6e6fb33
Author: Graham Inggs <ginggs at debian.org>
Date:   Wed Jun 7 22:41:33 2017 +0200

    Fix failure to start if ~/Private exists
---
 debian/patches/fix-failure-if-private-exists.patch | 17 +++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/fix-failure-if-private-exists.patch b/debian/patches/fix-failure-if-private-exists.patch
new file mode 100644
index 0000000..7feefd1
--- /dev/null
+++ b/debian/patches/fix-failure-if-private-exists.patch
@@ -0,0 +1,17 @@
+Description: Fix failure to start if ~/Private exists
+Bug: https://sourceforge.net/p/freemat/bugs/489/
+Bug-Debian: https://bugs.debian.org/863795
+Forwarded: yes
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2017-06-07
+--- a/libs/libFreeMat/Interpreter.cpp
++++ b/libs/libFreeMat/Interpreter.cpp
+@@ -364,7 +364,7 @@
+ 	procFileP(prefix + ":" + fileBaseName,fileAbsoluteFilePath,tempfunc);
+     else if (fileBaseName[0] == '@')
+       scanDirectory(fileAbsoluteFilePath,tempfunc,fileBaseName);
+-    else if (fileBaseName == "private")
++    else if (fileBaseName.toUpper() == "PRIVATE")
+       scanDirectory(fileAbsoluteFilePath,tempfunc,fileAbsoluteFilePath);
+     else
+       procFileMex(fileBaseName,fileAbsoluteFilePath,tempfunc);
diff --git a/debian/patches/series b/debian/patches/series
index 8bcdf74..71ec7cf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ skip-failing-tests3.patch
 restore-missing-files.patch
 fix-help-about-version.patch
 disable-update-check.patch
+fix-failure-if-private-exists.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/freemat.git



More information about the debian-science-commits mailing list