[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: |
Wed, 12 Jan 2011 09:45:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
> Andreas Schwab wrote:
>
>>> && (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.
>
> I don't understand this comment.
This will do the wrong thing if time_t is unsigned.
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."