projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d739e
)
cp: always initialize extent_copy's output parameter
author
Jim Meyering
<meyering@redhat.com>
Mon, 31 Jan 2011 19:55:34 +0000
(20:55 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 31 Jan 2011 19:55:34 +0000
(20:55 +0100)
* src/copy.c (extent_copy): Otherwise it would be used uninitialized.
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index
8ba09e0
..
04c678d
100644
(file)
--- a/
src/copy.c
+++ b/
src/copy.c
@@
-323,6
+323,7
@@
extent_copy (int src_fd, int dest_fd, char *buf, size_t buf_size,
extent_scan_init (src_fd, &scan);
+ *require_normal_copy = false;
bool wrote_hole_at_eof = true;
do
{