Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539622 - net-mail/qmailanalog - nanoseconds not zero-padded in tai64nfrac output, resulting in incorrect timestamps
Summary: net-mail/qmailanalog - nanoseconds not zero-padded in tai64nfrac output, resu...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-10 14:43 UTC by Florian Tham
Modified: 2016-05-06 08:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tai64nfrac_zeropad.patch (tai64nfrac_zeropad.patch,311 bytes, patch)
2015-02-10 14:43 UTC, Florian Tham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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