[med-svn] [Git][med-team/uc-echo][master] 3 commits: Using int instead of char to store offsets

Pierre Gruet gitlab at salsa.debian.org
Fri Apr 17 18:10:32 BST 2020



Pierre Gruet pushed to branch master at Debian Med / uc-echo


Commits:
3a70e579 by Pierre Gruet at 2020-04-17T13:25:40+02:00
Using int instead of char to store offsets

- - - - -
2347fdaf by Pierre Gruet at 2020-04-17T13:25:56+02:00
New uploader

- - - - -
8029a2b4 by Pierre Gruet at 2020-04-17T13:26:20+02:00
Updating changelog

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/series
- + debian/patches/using_int_not_char.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+uc-echo (1.12-15) UNRELEASED; urgency=medium
+
+  * Using int and not char for storing offsets
+    Closes: #953898
+
+ -- Pierre Gruet <pgtdebian at free.fr>  Fri, 17 Apr 2020 11:51:35 +0200
+
 uc-echo (1.12-14) unstable; urgency=medium
 
   [ Nilesh Patra ]


=====================================
debian/control
=====================================
@@ -2,7 +2,8 @@ Source: uc-echo
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Thorsten Alteholz <debian at alteholz.de>,
            Andreas Tille <tille at debian.org>,
-           Navid Fehrenbacher <nf at q-leap.de>
+           Navid Fehrenbacher <nf at q-leap.de>,
+           Pierre Gruet <pgtdebian at free.fr>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 12),


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ hardening-flags.patch
 include.patch
 m64-flag.patch
 2to3.patch
+using_int_not_char.patch


=====================================
debian/patches/using_int_not_char.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Using int and not char to store offset values
+ Upstream uses char to store values that can be negative. On arm64, char is
+ unsigned by default, which can result in unexpected behaviours.
+Author: Pierre Gruet <pgtdebian at free.fr>
+Last-Update: 2020-04-17
+
+--- a/NeighborSet.hpp
++++ b/NeighborSet.hpp
+@@ -19,7 +19,7 @@
+ 
+ class NeighborInfo {
+     public:
+-    typedef char index_t;
++    typedef int index_t;
+ 
+     private:
+     index_t offset, nerr;



View it on GitLab: https://salsa.debian.org/med-team/uc-echo/-/compare/d12984de2898742f7e359c72d7f04309529843ae...8029a2b48c7bb4af1a55d95decdc0b8bf2607519

-- 
View it on GitLab: https://salsa.debian.org/med-team/uc-echo/-/compare/d12984de2898742f7e359c72d7f04309529843ae...8029a2b48c7bb4af1a55d95decdc0b8bf2607519
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200417/3b3805ad/attachment-0001.html>


More information about the debian-med-commit mailing list