tag 652808 unreproducible thanks Le mardi 20 décembre 2011 à 16:27 +0100, Marcus Comstedt a écrit : > #include <stdio.h> > #include <time.h> > #include <glib.h> > > int main() > { > GDateTime * gdt = g_date_time_new_now_local(); > printf("glib: %s\n", g_date_time_format(gdt, "%R %Z")); > > char buf[256]; > time_t now = time(0); > struct tm *tm = localtime(&now); > strftime(buf, sizeof(buf), "%R %Z", tm); > printf("libc: %s\n", buf); > > return 0; > }
This program works perfectly fine for me. -- .''`. Josselin Mouette : :' : `. `' `- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org