[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-man
Subject:    Re: Errors in man pages, here: rename(2): Content
From:       Helge Kreutzmann <debian () helgefjell ! de>
Date:       2020-04-26 16:17:04
Message-ID: 20200426161704.GA23062 () Debian-50-lenny-64-minimal
[Download RAW message or body]

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.


Hello Michael,
On Sun, Apr 26, 2020 at 04:24:14PM +0200, Michael Kerrisk (man-pages) wrote:
> On Sun, 26 Apr 2020 at 13:12, Helge Kreutzmann <debian@helgefjell.de> wrote:
> > On Mon, Apr 20, 2020 at 11:40:26AM +0200, Michael Kerrisk (man-pages) wrote:
> > > On 4/19/20 8:48 AM, Helge Kreutzmann wrote:
> > > > **
> > > >
> > > > If newpath exists, this is already the reason for the failure?
> > > >
> > > > "If I<newpath> exists but the operation fails for some reason, B<rename>()  "
> > > > "guarantees to leave an instance of I<newpath> in place."
> > >
> > > I do not understand this report. Please elaborate.
> >
> > Trying to 2nd guess what the original translator, who unfortunately is
> > no longer active, might have thought:
> >
> > If you want to rename but the new path already exists, how can there
> > be other reasons for failure at all?
> 
> Because renaming onto an existing 'newpath' is permitted! Earlier, the
> man page says:
> 
>        If newpath already exists, it will be atomically replaced, so that
>        there is no point at which another process  attempting  to  access
>        newpath  will  find it missing.
> 
> I think the translator must not have understood this.
> 
> > If this still does not make sense, please close this report without
> > changes, of course.
> 
> Please close.

Thanks & Done

Greetings

           Helge
-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic