unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: vc-cvs-parse-entry
Date: Fri, 15 Sep 2006 20:43:43 +0300	[thread overview]
Message-ID: <umz91rpo0.fsf@gnu.org> (raw)
In-Reply-To: <45091564.4050508@gmx.at> (message from martin rudalics on Thu, 14 Sep 2006 10:40:04 +0200)

> Date: Thu, 14 Sep 2006 10:40:04 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC:  emacs-devel@gnu.org
> 
>  > I wasn't talking about DST, I was talking about the time-zone offset
>  > from UTC.  Most time zones have non-zero offset between UTC and the
>  > local time even when the DST is not in effect.
> 
> Yes, but my problem isn't with time-zones.  It's with DST just as
> described there.

Understood and agreed.  However, this confusion started when you
claimed that FindFirstFile did not return UTC times, but local times.
I hope now we agree that it does return UTC times, except that those
times are sometimes off by one hour due to the incorrect DST
correction.

>  > I was talking about what FindFirstFile returns, not about what's
>  > recorded on disk.  There's no argument that NTFS records file times in
>  > UTC, while FAT records them in local time.  The question is: does
>  > FindFirstFile convert file times to UTC on FAT volumes; the MS docs
>  > tells quite clearly that it does.  Can you please verify that
>  > directly, and show the actual numbers returned by FindFirstFile on
>  > your system?
> 
> You earlier said that `stat' runs FindFirstFile.  Without options stat
> (version 5.3.0) gives for my standard time-zone settings (CEST):

I meant the _function_ `stat' as implemented in Emacs's w32.c.  I did
not mean the _program_ `stat' that is part of Coreutils.

If you can step with a debugger through the function `stat' in w32.c
and see what times it returns for your files, it'd be great.

> Can you tell something from that?

Not really.  It's quite obvious that `stat' the program converts the
times to local time for display (witness the +0200 etc. time-zone
offsets it shows).  I need to see the raw times returned by the
FindFirstFile API.

Anyway, I'm not sure anymore whether we should pursue this issue any
further, especially since Stefan thinks we shouldn't try fixing this.

  reply	other threads:[~2006-09-15 17:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 16:20 vc-cvs-parse-entry martin rudalics
2006-08-29 19:07 ` vc-cvs-parse-entry Stefan Monnier
2006-08-29 20:51   ` vc-cvs-parse-entry martin rudalics
2006-08-29 21:06     ` vc-cvs-parse-entry Stefan Monnier
2006-08-30 12:24       ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 17:51         ` vc-cvs-parse-entry martin rudalics
2006-09-02 13:10           ` vc-cvs-parse-entry Eli Zaretskii
2006-09-02 13:45             ` vc-cvs-parse-entry martin rudalics
2006-09-02 14:48               ` vc-cvs-parse-entry Eli Zaretskii
2006-09-03 10:40                 ` vc-cvs-parse-entry martin rudalics
2006-09-03 21:00                   ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04  3:17                     ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04  9:17                       ` vc-cvs-parse-entry martin rudalics
2006-09-04 17:55                         ` vc-cvs-parse-entry Eli Zaretskii
2006-09-05  9:10                           ` vc-cvs-parse-entry martin rudalics
2006-09-05 18:31                             ` vc-cvs-parse-entry Eli Zaretskii
2006-09-10  9:55                               ` vc-cvs-parse-entry martin rudalics
2006-09-10 21:17                                 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-11  9:41                                   ` vc-cvs-parse-entry martin rudalics
2006-09-11 14:14                                     ` vc-cvs-parse-entry Stefan Monnier
2006-09-12  3:50                                     ` vc-cvs-parse-entry Eli Zaretskii
2006-09-14  8:40                                       ` vc-cvs-parse-entry martin rudalics
2006-09-15 17:43                                         ` Eli Zaretskii [this message]
2006-09-15 17:51                                         ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 21:01         ` vc-cvs-parse-entry Stefan Monnier
2006-09-02 12:32           ` vc-cvs-parse-entry Eli Zaretskii

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=umz91rpo0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).