Hi all, I've got the same problem here. The reason is, that if (gdb) print time_units $12 = 0x20dd8a8 "hours since 2300-01-01 22:48:00" then (gdb) p trunc_units $6 = 0x20e13f0 "hours " that is, one space too much at the end.
The following fixes this: -- a/grads-2.0.a9/src/gasdf.c 2010-09-02 16:00:51.000000000 +0200 +++ grads-2.0.a9/src/gasdf.c 2011-01-07 16:18:20.607596100 +0100 @@ -816,7 +816,7 @@ if (!temp_str) { trunc_point = strlen(time_units) ; } else { - trunc_point = strlen(time_units)-strlen(temp_str)+1; + trunc_point = strlen(time_units)-strlen(temp_str); } sz = trunc_point+1; trunc_units = (char *) galloc(sz,"trunc_units"); Best regards Nicolai -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org