bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7547: 24.0.50; verify-visited-file-modtime no longer returns t for n


From: Andreas Schwab
Subject: bug#7547: 24.0.50; verify-visited-file-modtime no longer returns t for non-existent file
Date: Fri, 10 Dec 2010 17:33:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

> --- 5085,5091 ----
>            && (st.st_mtime == b->modtime + 1
>                || st.st_mtime == b->modtime - 1)))
>         && (st.st_size == b->modtime_size
> !           || b->modtime_size < 0 || st.st_mtime < 0))

time_t may be unsigned, thus (time_t)-1 may be > 0.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]