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
5ca2a831
Commit
5ca2a831
authored
16 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
CURLINFO_FILETIME now works for file:// transfers as well
parent
e27ec862
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+3
-0
3 additions, 0 deletions
CHANGES
RELEASE-NOTES
+2
-1
2 additions, 1 deletion
RELEASE-NOTES
lib/file.c
+2
-0
2 additions, 0 deletions
lib/file.c
with
7 additions
and
1 deletion
CHANGES
+
3
−
0
View file @
5ca2a831
...
...
@@ -6,6 +6,9 @@
Changelog
Daniel Stenberg (4 Nov 2008)
- CURLINFO_FILETIME now works for file:// transfers as well
Daniel Stenberg (3 Nov 2008)
- Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out a
problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL
...
...
This diff is collapsed.
Click to expand it.
RELEASE-NOTES
+
2
−
1
View file @
5ca2a831
...
...
@@ -42,7 +42,8 @@ This release includes the following bugfixes:
o Solaris builds get _REENTRANT defined properly and work again
o Garbage sent on chunky upload after curl_easy_pause()
o ipv4 name resolves when libcurl is built with ipv6-enabled c-ares
o undersized IPv6 address internal buffer truncates long IPv6 addresses
o undersized IPv6 address internal buffer truncated long IPv6 addresses
o CURLINFO_FILETIME works for file:// transfers as well
This release includes the following known bugs:
...
...
This diff is collapsed.
Click to expand it.
lib/file.c
+
2
−
0
View file @
5ca2a831
...
...
@@ -451,6 +451,8 @@ static CURLcode file_do(struct connectdata *conn, bool *done)
if
(
-
1
!=
fstat
(
fd
,
&
statbuf
))
{
/* we could stat it, then read out the size */
expected_size
=
statbuf
.
st_size
;
/* and store the modification time */
data
->
info
.
filetime
=
(
long
)
statbuf
.
st_mtime
;
fstated
=
TRUE
;
}
...
...
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