On Fri, Jun 04, 2010 at 10:20:39AM +0100, Enrico Zini wrote:

> make check fails for me:
> 
>  [...]
>  TEST: ./tigge.sh
>  FAIL: tigge.sh
>  [...]
> ============================================
> 1 of 34 tests failed
> Please report to [email protected]
> ============================================
> 
> I'm now trying to find out if it is a problem in my system or if it is a
> general issue.

The attached patch seems to fix the problem for me. Can you confirm both
the error and the fix?


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <[email protected]>
diff --git a/tools/grib_get_data.c b/tools/grib_get_data.c
index 2a53161..e088abb 100644
--- a/tools/grib_get_data.c
+++ b/tools/grib_get_data.c
@@ -211,6 +211,7 @@ static grib_values* get_key_values(grib_runtime_options* options,grib_handle* h)
   int ret=0;
   char value[MAX_STRING_LEN];
   char* notfound="not found";
+  value[0] = 0;
 
   for (i=0;i<options->print_keys_count;i++) {
     size_t len=MAX_STRING_LEN;

Attachment: signature.asc
Description: Digital signature

Reply via email to