[osmctools] 01/07: New upstream version 0.8

Bas Couwenberg sebastic at debian.org
Fri Sep 22 15:41:17 UTC 2017


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

sebastic pushed a commit to branch master
in repository osmctools.

commit 9b61187af0e7e1e26e51d7684c7565332f6714ed
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Sep 22 17:06:17 2017 +0200

    New upstream version 0.8
---
 README.md       |  8 ++++++++
 src/osmfilter.c | 11 +++++------
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..de61d77
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+A few really fast tools to convert, filter and update OpenStreetMap data files<br/>
+<br/>
+Current Version: 0.8<br/>
+<br/>
+Programm desrcriptions:<br/>
+https://wiki.openstreetmap.org/wiki/osmconvert <br/>
+https://wiki.openstreetmap.org/wiki/osmfilter <br/>
+https://wiki.openstreetmap.org/wiki/osmupdate <br/>
diff --git a/src/osmfilter.c b/src/osmfilter.c
index 946001f..e946de3 100644
--- a/src/osmfilter.c
+++ b/src/osmfilter.c
@@ -1,5 +1,5 @@
-// osmfilter 2017-03-30 19:00
-#define VERSION "1.4.2"
+// osmfilter 2017-09-22 14:00
+#define VERSION "1.4.3"
 //
 // compile this file:
 // gcc osmfilter.c -O3 -o osmfilter
@@ -2773,7 +2773,7 @@ static inline bool fil_check0(int otype,
         if(fil__cmp(*keyp,fp->k)) {  // right key
           gotkey= true;
           v= *valp;
-          if(*(int16_t*)(fp->k)==0 || fil__cmp(v,fp->v)) {
+          if(*(int16_t*)(fp->v)==0 || fil__cmp(v,fp->v)) {
             // right value
             result= true;
       break;
@@ -2889,7 +2889,7 @@ static inline bool fil_check1(int otype,
       while(keyp<keye) {  // for all key/val pairs of this object
         if(fil__cmp(*keyp,fp->k)) {  // right key
           v= *valp;
-          if(*(int16_t*)(fp->k)==0 || fil__cmp(v,fp->v)) {
+          if(*(int16_t*)(fp->v)==0 || fil__cmp(v,fp->v)) {
             // right value
             result= true;
       break;
@@ -6714,7 +6714,7 @@ return 0;
       global_dropauthor= true;
   continue;  // take next parameter
       }
-    if(strzcmp(argv[0],"--drop-ver")==0) {
+    if(strzcmp(a,"--drop-ver")==0) {
         // user does not want version number in standard output
       global_dropauthor= true;
       global_dropversion= true;
@@ -7017,4 +7017,3 @@ return 5;
     }  // verbose mode
   return r;
   }  // end   main()
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmctools.git



More information about the Pkg-grass-devel mailing list