diff options
author | DJ Delorie <dj@redhat.com> | 2019-04-03 17:49:43 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2019-04-03 17:49:43 -0400 |
commit | 8260f23616c1a2a4e609f989a195fba7690a42ca (patch) | |
tree | 32e5108ea112e5aa178894a6cb94bc3084d2d70d /ChangeLog | |
parent | 0bd545ee235dd02aa95394e62bca1faff02eeae3 (diff) | |
download | glibc-8260f23616c1a2a4e609f989a195fba7690a42ca.tar.gz glibc-8260f23616c1a2a4e609f989a195fba7690a42ca.tar.xz glibc-8260f23616c1a2a4e609f989a195fba7690a42ca.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9eb0afd1ca..b5c13e8954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-04-03 DJ Delorie <dj@redhat.com> + + * time/tst-strftime3.c (tm_to_printed): Disable warning about + snprintf truncating output. + 2019-04-02 DJ Delorie <dj@redhat.com> * time/tst-strftime3.c: Add new Japanese era tests. Fix printf |