diff options
Diffstat (limited to 'ftp/curl/files/patch-lib::file.c')
-rw-r--r-- | ftp/curl/files/patch-lib::file.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ftp/curl/files/patch-lib::file.c b/ftp/curl/files/patch-lib::file.c deleted file mode 100644 index c7bae9693cbd..000000000000 --- a/ftp/curl/files/patch-lib::file.c +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN -urN -x .svn ../../vendor/curl/lib/file.c ./lib/file.c ---- ../../vendor/curl/lib/file.c 2008-03-24 00:40:11.000000000 +0200 -+++ ./lib/file.c 2008-04-02 13:17:43.000000000 +0300 -@@ -344,7 +344,7 @@ - - /* treat the negative resume offset value as the case of "-" */ - if(data->state.resume_from < 0) { -- if(stat(file->path, &file_stat)) { -+ if(fstat(fileno(fp), &file_stat)) { - fclose(fp); - failf(data, "Can't get the size of %s", file->path); - return CURLE_WRITE_ERROR; |