From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7547@debbugs.gnu.org
Subject: bug#7547: 24.0.50; verify-visited-file-modtime no longer returns t for non-existent file
Date: Thu, 09 Dec 2010 22:45:29 -0500 [thread overview]
Message-ID: <nar5dqz3xi.fsf_-_@fencepost.gnu.org> (raw)
In-Reply-To: <jwvbp4yi6lm.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon\, 06 Dec 2010 22\:51\:02 -0500")
What's the value of modtime_size supposed to be in nonexistent files?
Undefined? It might be nice if it were -1, like modtime.
Maybe this works:
*** fileio.c 2010-12-07 21:00:53.000000000 -0800
--- fileio.c.~1~ 2010-12-07 16:04:07.000000000 -0800
***************
*** 5091,5097 ****
&& (st.st_mtime == b->modtime + 1
|| st.st_mtime == b->modtime - 1)))
&& (st.st_size == b->modtime_size
! || b->modtime_size < 0))
return Qt;
return Qnil;
}
--- 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))
return Qt;
return Qnil;
}
next prev parent reply other threads:[~2010-12-10 3:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-04 0:55 bug#7547: 24.0.50; diary-list-entries fails miserably without ~/diary Lukasz Stelmach
2010-12-07 1:10 ` Glenn Morris
2010-12-07 1:18 ` Glenn Morris
2010-12-07 3:51 ` Stefan Monnier
2010-12-10 3:45 ` Glenn Morris [this message]
2010-12-10 16:33 ` bug#7547: 24.0.50; verify-visited-file-modtime no longer returns t for non-existent file Andreas Schwab
2011-01-12 4:35 ` Glenn Morris
2011-01-12 8:45 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nar5dqz3xi.fsf_-_@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=7547@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.