[PATCH] emacs: derive correct timestamp in FCC unique name
Jesse Rosenthal
jrosenthal at jhu.edu
Thu Jun 14 09:35:46 PDT 2012
Hi,
thanks for thinking this through.
On Thu, 14 Jun 2012, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> Alternatives:
>
> 1) Use current patch, filenames will have extra '-' in 2038 on 32-bit
> systems.
Well, that assumes there is still the same arithmetic operations -- the
calendar issue will probably push them to either auto-convert to float
or use bignum. But still, assuming that in 2038, people are still on
32bit machines, it seems we should minimize the amount of things that
need to be fixed.
So I agree that...
> 2) Drop 'timeid' and replace it with (float-time) in `format` call a few
> lines in original source after the patch context below -- No idea
> how (float-time) works on 32-bit systems after 2038.
is probably the best. They'll have to deal with their time_t (again,
assuming the unlikely existence of 32bit machines then) but this doesn't
depend on their arithemetic.
I'll send a revision to this thread.
> I suggest option #2.
>
> Tomi
Thanks again,
Jesse
More information about the notmuch
mailing list