Merge branch '2193_copy_buffer_size'
commit7b928e6b9400360cb9cd79edd8932dc60620898c
authorAndrew Borodin <aborodin@vmail.ru>
Mon, 25 Apr 2016 10:29:26 +0000 (25 13:29 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Mon, 25 Apr 2016 10:29:26 +0000 (25 13:29 +0300)
tree7c108e2fa2c64389a19805e4fca108b748c084d7
parent5ba97897cf119c8566dc328e8054a572350bda48
parentcedcb28912dfe9ee90fd475de2876dbf6dbc05e7
Merge branch '2193_copy_buffer_size'

* 2193_copy_buffer_size:
  (copy_file_file): reduce variable scopes.
  (copy_file_file): get rid of one goto.
  (copy_file_file): rename variables.
  (copy_file_file): define copy buffer size in depend on destination file system block size.
  (io_blksize): add intermediate variable.
  (ST_BLKSIZE): fix signed and unsigned comparision.
  Ticket #2193: use Coreutils way to define buffer size to copy file.