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
1052e6e6
Commit
1052e6e6
authored
Apr 27, 1998
by
Richard Henderson
Committed by
Richard Henderson
Apr 27, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bounce the ftnint argument through a local time_t.
From-SVN: r19460
parent
70e1ce21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
libf2c/ChangeLog.egcs
+1
-0
libf2c/libU77/gmtime_.c
+5
-4
No files found.
libf2c/ChangeLog.egcs
View file @
1052e6e6
Mon Apr 27 22:52:31 1998 Richard Henderson <rth@cygnus.com>
Mon Apr 27 22:52:31 1998 Richard Henderson <rth@cygnus.com>
* libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
* libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
* libU77/gmtime_.c: Likewise.
Sun Apr 26 18:07:56 1998 Richard Henderson <rth@cygnus.com>
Sun Apr 26 18:07:56 1998 Richard Henderson <rth@cygnus.com>
...
...
libf2c/libU77/gmtime_.c
View file @
1052e6e6
...
@@ -33,14 +33,15 @@ Boston, MA 02111-1307, USA. */
...
@@ -33,14 +33,15 @@ Boston, MA 02111-1307, USA. */
#include "f2c.h"
#include "f2c.h"
#ifdef KR_headers
#ifdef KR_headers
/* Subroutine */
int
G77_gmtime_0
(
stime
,
tarray
)
/* Subroutine */
int
G77_gmtime_0
(
x
stime
,
tarray
)
integer
*
stime
,
tarray
[
9
];
integer
*
x
stime
,
tarray
[
9
];
#else
#else
/* Subroutine */
int
G77_gmtime_0
(
const
integer
*
stime
,
integer
tarray
[
9
])
/* Subroutine */
int
G77_gmtime_0
(
const
integer
*
x
stime
,
integer
tarray
[
9
])
#endif
#endif
{
{
struct
tm
*
lt
;
struct
tm
*
lt
;
lt
=
gmtime
((
time_t
*
)
stime
);
time_t
stime
=
*
xstime
;
lt
=
gmtime
(
&
stime
);
tarray
[
0
]
=
lt
->
tm_sec
;
tarray
[
0
]
=
lt
->
tm_sec
;
tarray
[
1
]
=
lt
->
tm_min
;
tarray
[
1
]
=
lt
->
tm_min
;
tarray
[
2
]
=
lt
->
tm_hour
;
tarray
[
2
]
=
lt
->
tm_hour
;
...
...
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