From: Douglas B Rupp <rupp@gnat.com>
To: nickc@sourceware.org
Cc: binutils@sourceware.org
Subject: bfd/vmsutil.c file timestamp calculations
Date: Wed, 06 May 2009 00:54:00 -0000 [thread overview]
Message-ID: <4A00DFA0.7010801@gnat.com> (raw)
In-Reply-To: <20090121115805.8321.qmail@sourceware.org>
VMS stores file timestamps in local time with 100 nsec precision, so I
really need to figure out a way to do this correctly for a cross
compiler to work with the VMS debugger.
I can use the external symbols timezone and daylight instead of
tm_gmtoff, if that's portable. Not sure what do do about the other
followup patch to this file that removed st_mtim.tv_nsec. Is there a
macro I can test or will I have to add some configure machinery?
Looking for some advice here.
--Doug
nickc@sourceware.org wrote:
> CVSROOT: /cvs/src
> Module name: src
> Changes by: nickc@sourceware.org 2009-01-21 11:58:05
>
> Modified files:
> bfd : ChangeLog vmsutil.c
>
> Log message:
> PR 9769
> * vmsutil.c (vms_file_stats_name): Remove use of unsupported
> tm_gmtoff field in struct tm.
>
> Patches:
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4431&r2=1.4432
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/vmsutil.c.diff?cvsroot=src&r1=1.1&r2=1.2
>
next parent reply other threads:[~2009-05-06 0:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090121115805.8321.qmail@sourceware.org>
2009-05-06 0:54 ` Douglas B Rupp [this message]
2009-05-06 1:48 ` Cary Coutant
2009-05-06 3:03 ` Douglas B Rupp
2009-05-12 1:38 ` Restore bfd/vmsutil.c GMT adjustment [PATCH] Douglas B Rupp
2009-07-01 15:03 ` Nick Clifton
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=4A00DFA0.7010801@gnat.com \
--to=rupp@gnat.com \
--cc=binutils@sourceware.org \
--cc=nickc@sourceware.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.
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).