]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
date: Fix tests by initializing timespec structure
authorMateusz Piotrowski <0mp@FreeBSD.org>
Fri, 26 Apr 2024 15:19:18 +0000 (17:19 +0200)
committerMateusz Piotrowski <0mp@FreeBSD.org>
Fri, 26 Apr 2024 15:32:57 +0000 (17:32 +0200)
commit7b390cb636899582243e4daa8edbdb30d686d9fb
tree1cac9296f86dc719e7531d5ab78383c0ac85eab0
parent5626f9e790901999def12040a60746b0ceeb9b95
date: Fix tests by initializing timespec structure

The tests related to nanosecond support were failing on amd64 due to
uninitialized timespec structure.

Fixes: eeb04a736cb9 date: Add support for nanoseconds
Reviewed by: markj
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D44975
bin/date/date.c