Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6f1fd286
Commit
6f1fd286
authored
Mar 11, 2002
by
Douglas B Rupp
Committed by
Richard Kenner
Mar 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
From-SVN: r50582
parent
b230e057
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
gcc/ChangeLog
+2
-0
gcc/vmsdbgout.c
+14
-3
No files found.
gcc/ChangeLog
View file @
6f1fd286
2002-03-11 Douglas B Rupp <rupp@gnat.com>
2002-03-11 Douglas B Rupp <rupp@gnat.com>
* vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
* config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
* config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
* config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
* config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
...
...
gcc/vmsdbgout.c
View file @
6f1fd286
...
@@ -1455,15 +1455,26 @@ lookup_filename (file_name)
...
@@ -1455,15 +1455,26 @@ lookup_filename (file_name)
if
(
stat
(
file_name
,
&
statbuf
)
==
0
)
if
(
stat
(
file_name
,
&
statbuf
)
==
0
)
{
{
cdt
=
10000000
*
(
statbuf
.
st_ctime
+
vms_epoch_offset
);
long
gmtoff
;
ebk
=
statbuf
.
st_size
/
512
+
1
;
ffb
=
statbuf
.
st_size
-
((
statbuf
.
st_size
/
512
)
*
512
);
#ifdef VMS
#ifdef VMS
struct
tm
*
ts
;
/* Adjust for GMT */
ts
=
(
struct
tm
*
)
localtime
(
&
statbuf
.
st_ctime
);
gmtoff
=
ts
->
tm_gmtoff
;
/* VMS has multiple file format types */
rfo
=
statbuf
.
st_fab_rfm
;
rfo
=
statbuf
.
st_fab_rfm
;
#else
#else
/* Is GMT adjustment an issue with a cross-compiler? */
gmtoff
=
0
;
/* Assume stream LF type file */
/* Assume stream LF type file */
rfo
=
2
;
rfo
=
2
;
#endif
#endif
cdt
=
10000000
*
(
statbuf
.
st_ctime
+
gmtoff
+
vms_epoch_offset
);
ebk
=
statbuf
.
st_size
/
512
+
1
;
ffb
=
statbuf
.
st_size
-
((
statbuf
.
st_size
/
512
)
*
512
);
fnam
=
full_name
(
file_name
);
fnam
=
full_name
(
file_name
);
flen
=
strlen
(
fnam
);
flen
=
strlen
(
fnam
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment