mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* 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:
parent
c826992e1e
commit
d4c2af2154
@ -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
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user