|
Link Here
|
| 1002 |
if (to_stdout_option) |
1002 |
if (to_stdout_option) |
| 1003 |
return 0; |
1003 |
return 0; |
| 1004 |
|
1004 |
|
| 1005 |
if (! to_command_option) |
|
|
| 1006 |
set_stat (file_name, ¤t_stat_info, fd, |
| 1007 |
current_mode, current_mode_mask, typeflag, false, |
| 1008 |
(old_files_option == OVERWRITE_OLD_FILES |
| 1009 |
? 0 : AT_SYMLINK_NOFOLLOW)); |
| 1010 |
|
| 1011 |
status = close (fd); |
1005 |
status = close (fd); |
| 1012 |
if (status < 0) |
1006 |
if (status < 0) |
| 1013 |
close_error (file_name); |
1007 |
close_error (file_name); |
|
Link Here
|
| 1015 |
if (to_command_option) |
1009 |
if (to_command_option) |
| 1016 |
sys_wait_command (); |
1010 |
sys_wait_command (); |
| 1017 |
|
1011 |
|
|
|
1012 |
if (! to_command_option) |
| 1013 |
set_stat (file_name, ¤t_stat_info, -1, |
| 1014 |
current_mode, current_mode_mask, typeflag, false, |
| 1015 |
(old_files_option == OVERWRITE_OLD_FILES |
| 1016 |
? 0 : AT_SYMLINK_NOFOLLOW)); |
| 1017 |
|
| 1018 |
return status; |
1018 |
return status; |
| 1019 |
} |
1019 |
} |
| 1020 |
|
1020 |
|