projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a166a9b
)
(copy_file_preserving): Declare buf_size to be of type size_t, not int.
author
Jim Meyering
<jim@meyering.net>
Fri, 25 Apr 2003 07:46:43 +0000
(07:46 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 25 Apr 2003 07:46:43 +0000
(07:46 +0000)
lib/copy-file.c
patch
|
blob
|
history
diff --git
a/lib/copy-file.c
b/lib/copy-file.c
index 7de2ca63d84bc4aac632011dfe81a3ee5bfdf6e2..41191d21a016d64d73e7e15cc39a9a0f497b02ca 100644
(file)
--- a/
lib/copy-file.c
+++ b/
lib/copy-file.c
@@
-57,7
+57,7
@@
copy_file_preserving (const char *src_filename, const char *dest_filename)
int mode;
int dest_fd;
char buf[4096];
- const
in
t buf_size = sizeof (buf);
+ const
size_
t buf_size = sizeof (buf);
src_fd = open (src_filename, O_RDONLY | O_BINARY);
if (src_fd < 0 || fstat (src_fd, &statbuf) < 0)