diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-09-04 04:10:09 +1200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-09-04 16:43:02 +1200 |
| commit | 84a3d76675387c042e3da23184439f3b6fa02580 (patch) | |
| tree | 00ed58d55700c60133011aa1e75fad44cc7e379d | |
| parent | ae01f2b58b76bc963139fc52ecb50af599401cc8 (diff) | |
| download | man-pages-84a3d76675387c042e3da23184439f3b6fa02580.tar.gz | |
rename.2: Relocate some text text
Relocate text noting that there may be a window when 'oldpath' and
'newpath' refer to the same file. Logically, this text appears to
belong near the text noting that an existing 'newpath' will be
atomically replaced. (In ancient versions of the page, these two
pieces of text were closer together.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man2/rename.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man2/rename.2 b/man2/rename.2 index f457dabd2e..281a6cd6db 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -89,6 +89,13 @@ no point at which another process attempting to access .I newpath will find it missing. +However, when overwriting there will probably be a window in which +both +.I oldpath +and +.I newpath +refer to the file being renamed. + If .I oldpath and @@ -111,13 +118,6 @@ In this case, .I newpath must either not exist, or it must specify an empty directory. -However, when overwriting there will probably be a window in which -both -.I oldpath -and -.I newpath -refer to the file being renamed. - If .I oldpath refers to a symbolic link, the link is renamed; if |
