[mapcode] 20/56: Switched off self check

Stefan Fritsch sf at moszumanska.debian.org
Wed Nov 2 23:27:27 UTC 2016


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

sf pushed a commit to annotated tag v2.0.2
in repository mapcode.

commit 5e372d08aff738fc7a40e8a6e2e4889fe7c72b3e
Author: Rijn Buve <rijn at buve.nl>
Date:   Thu May 21 14:18:23 2015 +0200

    Switched off self check
---
 utility/mapcode.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/utility/mapcode.cpp b/utility/mapcode.cpp
index 85d18cd..c5a09d2 100644
--- a/utility/mapcode.cpp
+++ b/utility/mapcode.cpp
@@ -42,7 +42,7 @@
 #define my_isnan(x) (false)
 #define my_round(x) ((long) (floor((x) + 0.5)))
 
-static const int    SELF_CHECK          = 1;
+static const int    SELF_CHECK          = 0;
 static const int    SELF_CHECK_EXIT     = 0;
 
 static const int    NORMAL_ERROR    = 1;
@@ -116,8 +116,8 @@ static void usage(const char* appName) {
     printf("       The (x, y, z) coordinates are primarily meant for visualization of the data set.\n");
     printf("\n");
     printf("       Example:\n");
-    printf("       %s -g    100 : produces a grid of 100 points as lat/lon pairs\n");
-    printf("       %s -gXYZ 100 : produces a grid of 100 points as (x, y, z) sphere coordinates)\n");
+    printf("       %s -g    100 : produces a grid of 100 points as lat/lon pairs\n", appName);
+    printf("       %s -gXYZ 100 : produces a grid of 100 points as (x, y, z) sphere coordinates)\n", appName);
     printf("\n");
     printf("       Notes on the use of stdout and stderr:\n");
     printf("       stdout: used for outputting 3D point data; stderr: used for statistics.\n");

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



More information about the Pkg-grass-devel mailing list