From 8260f23616c1a2a4e609f989a195fba7690a42ca Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 3 Apr 2019 17:49:43 -0400 Subject: time/tst-strftime3.c: Disable snprintf warning. snprintf will only truncate the output if the data its given is corrupted, but a truncated buffer will not match the "pristine" data's buffer, which is all we need. So just disable the warning via the DIAG macros. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9eb0afd1ca..b5c13e8954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-04-03 DJ Delorie + + * time/tst-strftime3.c (tm_to_printed): Disable warning about + snprintf truncating output. + 2019-04-02 DJ Delorie * time/tst-strftime3.c: Add new Japanese era tests. Fix printf -- cgit v1.2.3