diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2012-06-14 13:16:03 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-06-22 07:39:21 -0300 |
commit | d094153a264a69bc560366198a0febfa96c1ceb5 (patch) | |
tree | 0fb96c3715936d22108408bb30f7b6d51786f4ca /bindings/ruby/status.c | |
parent | a7bc1c7bc5a47e8abd5087431d65f746ef20ee81 (diff) |
emacs: derive correct timestamp in FCC unique name
Previously, the timestamp at the beginning of the FCC unique maildir
name was derived incorrectly, thanks to an integer overflow. This
changes the derivation of timestamp to use a float, and so will get
the number correct at least until 2038. (It is still formatted with
"%d" so it will show up as an integer.) Should we need to change it in
the next 26 years to take the unix millenium into account, it will be
invisible to users.
This change is mostly a question of consistency, since the unique name
is arbitrary anyway. But since most people use timestamps, and that was
the original intention here as well, we might as well.
Signed-off-by: Jesse Rosenthal <jrosenthal@jhu.edu>
Diffstat (limited to 'bindings/ruby/status.c')
0 files changed, 0 insertions, 0 deletions