gdbus-example-unix-fd-client: avoid strftime %c specifier
commit037719c27c541e5e529c7f0dc8a14792a26303c9
authorSimon McVittie <smcv@debian.org>
Sun, 14 Aug 2016 14:36:17 +0000 (14 15:36 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 15 Aug 2016 13:04:43 +0000 (15 14:04 +0100)
treec045633e6e56eddbf0e81fac7c35486575487545
parent634990a37403e0c8fb642adcd1130e19dbcf546f
gdbus-example-unix-fd-client: avoid strftime %c specifier

gcc 6 warns (fatally, by default) that %c only uses a 2-digit year
in some locales. The precise format does not seem to be important
for this sample code, so use ISO 8601 instead of suppressing the
warning with a pragma.

Signed-off-by: Simon McVittie <smcv@debian.org>
Reviewed-by: Colin Walters
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=768453
gio/tests/gdbus-example-unix-fd-client.c