[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqlite3
From: |
Eli Zaretskii |
Subject: |
Re: sqlite3 |
Date: |
Mon, 27 Dec 2021 17:14:14 +0200 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: emacs-devel@gnu.org
> Date: Mon, 27 Dec 2021 16:07:11 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> But doesn't it seem more likely that it's the `file-attributes' call
> >> here that returns outdated data on Windows? That would explain all the
> >> symptoms you're seeing, I think?
> >
> > Could be. But how does this affect the solution?
>
> I think we should confirm whether that's the case or not -- and not
> attempt to read the file if it doesn't exist.
If you can show a patch that only reads if the file exists, I can see
if the offending test still succeeds.
> That is, I wonder what the timestamp returned here really is, and how it
> compares to the cached timestamp. Could it be that the timestamps are
> identical and that's why `time-less-p' is returning nil? If it's a
> matter of the timestamps having too low resolution on (some?) Windows
> versions, then perhaps we could have some particular logic for that.
The file's time resolution on Windows is 0.1usec (100 nanoseconds). I
think this should be enough.
- Re: sqlite3, (continued)
- Re: sqlite3, Eli Zaretskii, 2021/12/26
- Re: sqlite3, Eli Zaretskii, 2021/12/26
- Re: sqlite3, Eli Zaretskii, 2021/12/26
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/27
- Re: sqlite3, Eli Zaretskii, 2021/12/27
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/27
- Re: sqlite3,
Eli Zaretskii <=
- Re: sqlite3, Eli Zaretskii, 2021/12/27
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/28
- Re: sqlite3, Eli Zaretskii, 2021/12/28
- Re: sqlite3, Po Lu, 2021/12/28
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/28
- Re: sqlite3, Eli Zaretskii, 2021/12/28
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/29
- Re: sqlite3, Eli Zaretskii, 2021/12/29
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/29
- Re: sqlite3, Eli Zaretskii, 2021/12/29