* src/file.c (copy_file_file): When a hardlink is created successfully

report success (FILE_CONT) to the caller. Fixes debian bug #301537.
This commit is contained in:
Pavel Tsekov 2006-03-29 11:38:25 +00:00
parent c826992e1e
commit d4c2af2154
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-29 Pavel Tsekov <ptsekov@gmx.net>
* file.c (copy_file_file): When a hardlink is created successfully
report success (FILE_CONT) to the caller. Fixes debian bug #301537.
2006-03-06 Pavel Tsekov <ptsekov@gmx.net>
* mouse.h (Mouse_Type): Add new enumerated values to describe

View File

@ -529,7 +529,7 @@ copy_file_file (FileOpContext *ctx, const char *src_path, const char *dst_path,
if (!ctx->follow_links && sb.st_nlink > 1 &&
check_hardlinks (src_path, dst_path, &sb) == 1) {
/* We have made a hardlink - no more processing is necessary */
return return_status;
return FILE_CONT;
}
if (S_ISLNK (sb.st_mode)) {