Hello, On Fri, Apr 21, 2006 at 07:45:20PM +0100, Neil Williams wrote: > Could you test this patch for me? I would like to, but the patch does not apply. Investigating by hand, it seems the diff is against an even newer version than in 0.6.4-1:
if (!ok || always_print) { fprintf (stderr, "\n%lld:%lld -> %s ->\n%lld:%lld " "(diff of %lld secs %lld nsecs)\n", (long long int) ts.tv_sec, (long long int) ts.tv_nsec, str, [...] > ? test-date.c.patch > Index: test-date.c > =================================================================== > RCS file: /var/lib/cvs/qof/qof/test/test-date.c,v > retrieving revision 1.10 > diff -p -u -b -B -r1.10 test-date.c > --- test-date.c 17 Apr 2006 22:09:15 -0000 1.10 > +++ test-date.c 21 Apr 2006 18:42:46 -0000 > @@ -61,9 +61,9 @@ check_time (Timespec ts, gboolean always > if (!ok || always_print) > { > fprintf (stderr, > - "\n%" G_GUINT64_FORMAT ":%" G_GUINT64_FORMAT " -> %s ->\n" > - "%" G_GUINT64_FORMAT ":%" G_GUINT64_FORMAT " " > - "(diff of %" G_GUINT64_FORMAT " secs %" G_GUINT64_FORMAT " > nsecs)\n", > + "\n%" G_GINT64_FORMAT ":%" G_GINT64_FORMAT " -> %s ->\n" > + "%" G_GINT64_FORMAT ":%" G_GINT64_FORMAT " " > + "(diff of %" G_GINT64_FORMAT " secs %" G_GINT64_FORMAT " > nsecs)\n", > (long long int) ts.tv_sec, > (long long int) ts.tv_nsec, > str, > @@ -94,8 +94,8 @@ check_conversion (const char * str, Time > if ((expected_ts.tv_sec != ts.tv_sec) || (expected_ts.tv_nsec != > ts.tv_nsec)) > { > fprintf (stderr, > - "\nmis-converted \"%s\" to %" G_GUINT64_FORMAT ".%09ld > seconds\n" > - "\twas expecting %" G_GUINT64_FORMAT ".%09ld seconds\n", > + "\nmis-converted \"%s\" to %" G_GINT64_FORMAT ".%09ld seconds\n" > + "\twas expecting %" G_GINT64_FORMAT ".%09ld seconds\n", > str, ts.tv_sec, ts.tv_nsec, > expected_ts.tv_sec, expected_ts.tv_nsec); > failure ("misconverted timespec"); it looks like a "fix for the fix". If you need further help... :) best regards Frederik Schueler -- ENOSIG
signature.asc
Description: Digital signature