]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: factor sparse-copying code into its own function, because
authorJim Meyering <meyering@redhat.com>
Thu, 27 Jan 2011 19:57:17 +0000 (20:57 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 29 Jan 2011 08:41:07 +0000 (09:41 +0100)
commitc0b7bc3864c06ea12c2740056e28623449fb63a7
tree909927c1507757cb21748da4677ca5ac12e3fbbb
parent47c8476ec9629239c82caf50b1c68b7bc58ba2d6
copy: factor sparse-copying code into its own function, because

we're going to have to use it from within extent_copy, too.
* src/copy.c (sparse_copy): New function, factored out of...
(copy_reg): ...here.
Remove now-unused locals.
src/copy.c