[med-svn] [Git][med-team/edflib][master] 6 commits: New upstream version 1.15
Andreas Tille
gitlab at salsa.debian.org
Wed Nov 28 07:05:22 GMT 2018
Andreas Tille pushed to branch master at Debian Med / edflib
Commits:
55aa18d8 by Andreas Tille at 2018-11-28T06:54:18Z
New upstream version 1.15
- - - - -
d855d17c by Andreas Tille at 2018-11-28T06:54:18Z
Update upstream source from tag 'upstream/1.15'
Update to upstream version '1.15'
with Debian dir ee07da6daf7816832dedfeff7fc9039a61e21462
- - - - -
9012d29c by Andreas Tille at 2018-11-28T06:54:19Z
New upstream version
- - - - -
f1672e26 by Andreas Tille at 2018-11-28T06:54:23Z
Standards-Version: 4.2.1
- - - - -
4ce5d580 by Andreas Tille at 2018-11-28T06:54:23Z
Remove trailing whitespace in debian/rules
- - - - -
44ce8e93 by Andreas Tille at 2018-11-28T06:55:19Z
Upload to unstable
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/rules
- edflib.c
- edflib.h
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+edflib (1.15-1) unstable; urgency=medium
+
+ * New upstream version
+ * Standards-Version: 4.2.1
+ * Remove trailing whitespace in debian/rules
+
+ -- Andreas Tille <tille at debian.org> Wed, 28 Nov 2018 07:54:24 +0100
+
edflib (1.14-1) unstable; urgency=medium
* New upstream version
=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Section: libs
Priority: optional
Build-Depends: debhelper (>= 11~),
cmake
-Standards-Version: 4.1.5
+Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/med-team/edflib
Vcs-Git: https://salsa.debian.org/med-team/edflib.git
Homepage: http://www.teuniz.net/edflib/
=====================================
debian/rules
=====================================
@@ -16,7 +16,7 @@ SOVERSION=1
pkg_lib = libedf$(SOVERSION)
pkg_dev = libedf-dev
-override_dh_install:
+override_dh_install:
# pkg_lib
dh_install -p$(pkg_lib) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so.* usr/lib/$(DEB_HOST_MULTIARCH)
# pkg_dev
=====================================
edflib.c
=====================================
@@ -39,7 +39,7 @@
#include "edflib.h"
-#define EDFLIB_VERSION 114
+#define EDFLIB_VERSION 115
#define EDFLIB_MAXFILES 64
@@ -7028,7 +7028,7 @@ static int edflib_sprint_number_nonlocalized(char *str, double nr)
static double edflib_atof_nonlocalized(const char *str)
{
- int i=0, dot_pos=-1, decimals=0, sign=1;
+ int i=0, j, dot_pos=-1, decimals=0, sign=1, exp_pos=-1, exp_sign=1, exp_val=0;
double value, value2=0.0;
@@ -7057,6 +7057,13 @@ static double edflib_atof_nonlocalized(const char *str)
break;
}
+ if((str[i] == 'e') || (str[i] == 'E'))
+ {
+ exp_pos = i;
+
+ break;
+ }
+
if(((str[i] < '0') || (str[i] > '9')) && (str[i] != '.'))
{
break;
@@ -7095,9 +7102,50 @@ static double edflib_atof_nonlocalized(const char *str)
}
value2 /= i;
+
+ value += value2;
}
- return value + value2;
+ if(exp_pos > 0)
+ {
+ i = exp_pos + 1;
+
+ if(str[i])
+ {
+ if(str[i] == '+')
+ {
+ i++;
+ }
+ else if(str[i] == '-')
+ {
+ exp_sign = -1;
+
+ i++;
+ }
+
+ if(str[i])
+ {
+ exp_val = edflib_atoi_nonlocalized(str + i);
+
+ if(exp_val > 0)
+ {
+ for(j=0; j<exp_val; j++)
+ {
+ if(exp_sign > 0)
+ {
+ value *= 10;
+ }
+ else
+ {
+ value /= 10;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ return value;
}
=====================================
edflib.h
=====================================
@@ -46,7 +46,7 @@
#define EDFLIB_TIME_DIMENSION (10000000LL)
-#define EDFLIB_MAXSIGNALS 512
+#define EDFLIB_MAXSIGNALS 640
#define EDFLIB_MAX_ANNOTATION_LEN 512
#define EDFSEEK_SET 0
View it on GitLab: https://salsa.debian.org/med-team/edflib/compare/86e3a05a40eb023d8bda1741ef2445d579a632ff...44ce8e9377a757780010a936153cde5048a95776
--
View it on GitLab: https://salsa.debian.org/med-team/edflib/compare/86e3a05a40eb023d8bda1741ef2445d579a632ff...44ce8e9377a757780010a936153cde5048a95776
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/20181128/f4034145/attachment-0001.html>
More information about the debian-med-commit
mailing list