From: Paul Eggert <eggert@cs.ucla.edu>
To: Jarek Czekalski <jarekczek@poczta.onet.pl>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r115596: Minor fixes for recent openp changes.
Date: Wed, 18 Dec 2013 14:45:31 -0800 [thread overview]
Message-ID: <52B2258B.6040201@cs.ucla.edu> (raw)
In-Reply-To: <52B21CBB.4050506@poczta.onet.pl>
Jarek Czekalski wrote:
> maybe you could add a comment
Sure, done in trunk bzr 115598.
> Could this be initialized to 0 or to invalid_timespec?
No, because valid time stamps can be negative, and neither
0 nor invalid_timestamp would compare less than these
valid time stamps.
Here's a shell transcript to illustrate:
$ touch -d 0001-12-25 Christmas-1-AD
$ ls -l oldfile
-rw-r--r--. 1 eggert eggert 0 Dec 25 0001 Christmas-1-AD
$ ls -l --time-style=+%s oldfile
-rw-r--r--. 1 eggert eggert 0 -62104665600 Christmas-1-AD
For this file, file-attributes returns the time stamp
(-947642 512 0 0), and -62104665600 == (-947642 << 16) + 512.
next prev parent reply other threads:[~2013-12-18 22:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1VtNrR-0005eY-Pp@vcs.savannah.gnu.org>
2013-12-18 22:07 ` [Emacs-diffs] trunk r115596: Minor fixes for recent openp changes Jarek Czekalski
2013-12-18 22:45 ` Paul Eggert [this message]
2013-12-19 7:18 ` Jarek Czekalski
2013-12-19 17:00 ` Eli Zaretskii
2013-12-19 19:22 ` Jarek Czekalski
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52B2258B.6040201@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=jarekczek@poczta.onet.pl \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).