mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* src/copy.c (copy_reg): Rewrite a comment that was rendered
inaccurate by the 2006-10-18 change.
This commit is contained in:
1 parent
88891aef7e
commit
67b9752cd1
2 files changed
+7
-2
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2006-12-30 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* src/copy.c (copy_reg): Rewrite a comment that was rendered
|
||||
inaccurate by the 2006-10-18 change.
|
||||
|
||||
2006-12-28 Jim Meyering <jim@meyering.net>
|
||||
|
||||
When moving "up" the hierarchy, be careful to remove a just-emptied
|
||||
|
||||
+2
-2
@@ -295,8 +295,8 @@ copy_reg (char const *src_name, char const *dst_name,
|
||||
goto close_src_desc;
|
||||
}
|
||||
|
||||
/* These semantics are required for cp.
|
||||
The if-block will be taken in move_mode. */
|
||||
/* The semantics of the following open calls are mandated
|
||||
by the specs for both cp and mv. */
|
||||
if (! *new_dst)
|
||||
{
|
||||
dest_desc = open (dst_name, O_WRONLY | O_TRUNC | O_BINARY);
|
||||
|
||||
Reference in new issue
Block a user