FreeBSD Bugzilla – Attachment 81948 Details for
Bug 117277
[patch] fetch(1): fetch's resume mode doesn't verify that it actually got partial content
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 588 bytes, created by
Fabian Keil
on 2007-10-17 18:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2007-10-17 18:50:01 UTC
Size:
588 bytes
patch
obsolete
>--- .zfs/snapshot/2007-10-15/usr.bin/fetch/fetch.c 2006-11-10 23:05:41.000000000 +0100 >+++ usr.bin/fetch/fetch.c 2007-10-16 14:21:20.221581714 +0200 >@@ -488,8 +488,11 @@ > if (o_stdout) { > /* output to stdout */ > of = stdout; >- } else if (r_flag && sb.st_size != -1) { >- /* resume mode, local file exists */ >+ } else if (r_flag && sb.st_size != -1 && url->offset) { >+ /* >+ * resume mode, local file exists and we >+ * actually received partial content as requested >+ */ > if (!F_flag && us.mtime && sb.st_mtime != us.mtime) { > /* no match! have to refetch */ > fclose(f);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 117277
: 81948