bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install.c: please set unlink_dest_before_opening=false


From: Eric Blake
Subject: Re: install.c: please set unlink_dest_before_opening=false
Date: Tue, 20 Feb 2007 13:26:49 +0000

> 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?

> 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.  (The name
POSIX_ME_HARDER is no longer in use; it was replaced by
POSIXLY_CORRECT).

-- 
Eric Blake

--- Begin Message --- Subject: install.c: please set unlink_dest_before_opening=false Date: Tue, 20 Feb 2007 13:00:30 +0000

Attachment: install.diff
Description: Text Data

_______________________________________________
Bug-coreutils mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-coreutils

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]