[eso-midas] 07/16: Turn bad assignments "=" into correct comparisons "=="

Ole Streicher olebole at moszumanska.debian.org
Wed Mar 25 14:16:07 UTC 2015


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

olebole pushed a commit to branch debian
in repository eso-midas.

commit a49e898d8a2b74b44f4db30e152b77f935cce9ee
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Mar 25 13:33:04 2015 +0100

    Turn bad assignments "=" into correct comparisons "=="
---
 debian/patches/fix_scc_c.patch | 16 ++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/fix_scc_c.patch b/debian/patches/fix_scc_c.patch
new file mode 100644
index 0000000..63ec8ec
--- /dev/null
+++ b/debian/patches/fix_scc_c.patch
@@ -0,0 +1,16 @@
+Author: Ole Streicher <olebole at debian.org>
+Description: Turn bad assignments "=" into correct comparisons "=="
+--- a/libsrc/st/scc.c
++++ b/libsrc/st/scc.c
+@@ -242,9 +242,9 @@
+ stat = MID_CCRE(catfile,type,catdsc,&mycno);
+ if (stat != ERR_NORMAL)
+    {
+-   if (stat = ERR_INPINV)
++   if (stat == ERR_INPINV)
+       SCTPUT("(ERR) SCCCRE: - INPINV");
+-   else if (stat = ERR_CATBAD)
++   else if (stat == ERR_CATBAD)
+       SCTPUT("(ERR) SCCCRE: - CATBAD");
+    else 
+       SCTPUT("(ERR) SCCCRE: - CATOVF");
diff --git a/debian/patches/series b/debian/patches/series
index f9a7076..374776b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -20,3 +20,4 @@ fix_midfct_c.patch
 fix_esoext_c.patch
 fix_filepath_c.patch
 fix_mutil_h.patch
+fix_scc_c.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git



More information about the debian-science-commits mailing list