Commit 59077771 authored by Kamil Dudka's avatar Kamil Dudka
Browse files

curl -T: ignore file size of special files

original bug report at https://bugzilla.redhat.com/622520
parent 72da720b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Curl and libcurl 7.21.2

This release includes the following changes:

 o 
 o curl -T: ignore file size of special files

This release includes the following bugfixes:

+4 −1
Original line number Diff line number Diff line
@@ -4925,6 +4925,9 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
            goto quit_urls;
          }
          infdopen=TRUE;

          /* we ignore file size for char/block devices, sockets, etc. */
          if(S_IFREG == (fileinfo.st_mode & S_IFMT))
            uploadfilesize=fileinfo.st_size;

        }