Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 539622

Summary: net-mail/qmailanalog - nanoseconds not zero-padded in tai64nfrac output, resulting in incorrect timestamps
Product: Gentoo Linux Reporter: Florian Tham <tham>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: net-mail+disabled, pacho, qmail-bugs+disabled
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: tai64nfrac_zeropad.patch

Description Florian Tham 2015-02-10 14:43:28 UTC
Created attachment 396084 [details, diff]
tai64nfrac_zeropad.patch

tai64nfrac does not zero-pad nanoseconds, resulting in incorrect timestamps:

$ echo @4000000054d75c11000f0d84 | /var/qmail/bin/tai64nfrac
1423399943.986500

expected: 1423399943.000986500

$ echo @4000000054d75c1100122a64 | /var/qmail/bin/tai64nfrac
1423399943.1190500

expected: 1423399943.001190500

Fix attached.
Comment 1 Pacho Ramos gentoo-dev 2016-05-06 08:35:14 UTC
Do you want to proxy maintain this package?
wiki.gentoo.org/wiki/Project:Proxy_Maintainers