diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-02-09 10:31:53 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-02-09 10:31:53 +0000 |
commit | 69549d1b94d3890bd9f5340f9b4239d88a196706 (patch) | |
tree | 0a3c418882c762b006727a4f5987141906c6083b /src/util.c | |
parent | 6b2f265f6e5944d85ba8608e4ce859fe019eb750 (diff) | |
download | cpio-69549d1b94d3890bd9f5340f9b4239d88a196706.tar.gz cpio-69549d1b94d3890bd9f5340f9b4239d88a196706.tar.bz2 |
* NEWS, configure.ac: Raise the patchlevel number.
* THANKS: Update
* doc/cpio.texi: Fix a typo.
* src/extern.h (warn_if_file_changed): Fix type of the 2nd
argument.
* src/tar.c (write_out_tar_header): Stylistic change.
* src/util.c (copy_files_disk_to_disk): Fix types of automatic
variables.
(warn_if_file_changed): Fix type of the 2nd argument.
Patches supplied by Ladislav Michnovic.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -527,8 +527,8 @@ void copy_files_disk_to_disk (int in_des, int out_des, off_t num_bytes, char *filename) { - long size; - long k; + off_t size; + off_t k; off_t original_num_bytes; int rc; @@ -569,7 +569,7 @@ copy_files_disk_to_disk (int in_des, int out_des, off_t num_bytes, /* Warn if file changed while it was being copied. */ void -warn_if_file_changed (char *file_name, unsigned long old_file_size, +warn_if_file_changed (char *file_name, off_t old_file_size, time_t old_file_mtime) { struct stat new_file_stat; |