bfd/vmsutil.c file timestamp calculations

Douglas B Rupp rupp@gnat.com
Wed May 6 00:54:00 GMT 2009


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
> 



More information about the Binutils mailing list