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/ _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
