[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install.c: please set unlink_dest_before_opening=false
From: |
Robert Millan [ackstorm] |
Subject: |
Re: install.c: please set unlink_dest_before_opening=false |
Date: |
Wed, 21 Feb 2007 10:30:27 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, Feb 20, 2007 at 01:26:49PM +0000, Eric Blake wrote:
> > install --help says it will just "copy SOURCE to DEST", so one would
> > expect to behave like cp and not break hard links.
> >
> > However, because unlink_dest_before_opening is set to true, this will
> > break links.
>
> Thanks for the report. How do non-GNU install programs behave
> in this regard?
FreeBSD removes the link. I don't know about others.
> > I haven't checked POSIX though, but if this is actualy a requirement
> > maybe a POSIX_ME_HARDER hack would make sense here?
>
> Nope. install isn't specified by POSIX, so making it depend on
> POSIXLY_CORRECT is the wrong thing to do.
Ah, ok.
> (The name
> POSIX_ME_HARDER is no longer in use; it was replaced by
> POSIXLY_CORRECT).
Yeah, I just feel a bit nostalgic about that ;)
--
Robert Millan
ACK STORM, S.L. - http://www.ackstorm.es/
- Re: install.c: please set unlink_dest_before_opening=false, (continued)
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/22
- Re: install.c: please set unlink_dest_before_opening=false, Paul Eggert, 2007/02/22
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/23
- Re: install.c: please set unlink_dest_before_opening=false, Andreas Schwab, 2007/02/23
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/23
Re: install.c: please set unlink_dest_before_opening=false, James Youngman, 2007/02/25
Re: install.c: please set unlink_dest_before_opening=false, Eric Blake, 2007/02/20
- Re: install.c: please set unlink_dest_before_opening=false,
Robert Millan [ackstorm] <=