[Pkg-octave-commit] [octave] 01/01: d/strncmp.patch: new patch, makes strncmp case-sensitive again.
Sébastien Villemot
sebastien at debian.org
Fri Aug 18 14:13:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository octave.
commit 0c2464b7d2132acceb9124867f8ad3bb471868df
Author: Sébastien Villemot <sebastien at debian.org>
Date: Fri Aug 18 16:12:33 2017 +0200
d/strncmp.patch: new patch, makes strncmp case-sensitive again.
Closes: #867212
Thanks: Thierry Rascle
---
debian/patches/series | 1 +
debian/patches/strncmp.patch | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 563509a..8323af3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ always-build-octave-jar.patch
hdf5-flags.patch
hdf5-mkoctfile.patch
appstream-upgrade-spec.patch
+strncmp.patch
diff --git a/debian/patches/strncmp.patch b/debian/patches/strncmp.patch
new file mode 100644
index 0000000..470333e
--- /dev/null
+++ b/debian/patches/strncmp.patch
@@ -0,0 +1,28 @@
+Description: Make strncmp case-sensitive again
+Author: Thierry Rascle <thierr26 at free.fr>
+Bug: https://savannah.gnu.org/bugs/?51348
+Bug-Debian: https://bugs.debian.org/867212
+Reviewed-by: Mike Miller <mtmiller at debian.org>
+Last-Update: 2017-08-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/liboctave/util/oct-string.cc
++++ b/liboctave/util/oct-string.cc
+@@ -147,7 +147,7 @@
+ const typename T::size_type n)
+ {
+ return (numel (str_a) >= n && numel (str_b) >= n
+- && str_data_cmpi<T> (str_a.data (), str_b.data (), n));
++ && str_data_cmp<T> (str_a.data (), str_b.data (), n));
+ }
+
+ template<typename T>
+@@ -156,7 +156,7 @@
+ const typename T::size_type n)
+ {
+ return (numel (str_a) >= n && strlen<T> (str_b) >= n
+- && str_data_cmpi<T> (str_a.data (), str_b, n));
++ && str_data_cmp<T> (str_a.data (), str_b, n));
+ }
+
+
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave.git
More information about the Pkg-octave-commit
mailing list