Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
c0a44b4b
Commit
c0a44b4b
authored
24 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Added typecast to localtime_r()
parent
ef8741d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/getdate.c
+4
-4
4 additions, 4 deletions
lib/getdate.c
with
4 additions
and
4 deletions
lib/getdate.c
+
4
−
4
View file @
c0a44b4b
...
...
@@ -390,7 +390,7 @@ static const short yycheck[] = { 0,
56
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/
opt/TWWfsw/bison
/share/bison.simple"
#line 3 "/
usr/local
/share/bison.simple"
/* This file comes from bison-1.28. */
/* Skeleton output parser for bison,
...
...
@@ -604,7 +604,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
#endif
#endif
#line 217 "/
opt/TWWfsw/bison
/share/bison.simple"
#line 217 "/
usr/local
/share/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
...
...
@@ -1295,7 +1295,7 @@ case 50:
break
;}
}
/* the action file gets copied in in place of this dollarsign */
#line 543 "/
opt/TWWfsw/bison
/share/bison.simple"
#line 543 "/
usr/local
/share/bison.simple"
yyvsp
-=
yylen
;
yyssp
-=
yylen
;
...
...
@@ -1981,7 +1981,7 @@ curl_getdate (const char *p, const time_t *now)
yyInput
=
p
;
Start
=
now
?
*
now
:
time
((
time_t
*
)
NULL
);
#ifdef HAVE_LOCALTIME_R
tmp
=
localtime_r
(
&
Start
,
&
keeptime
);
tmp
=
(
struct
tm
*
)
localtime_r
(
&
Start
,
&
keeptime
);
#else
tmp
=
localtime
(
&
Start
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment