outdated files after make world
Ruslan Ermilov
ru at FreeBSD.org
Sat Apr 5 07:57:21 PST 2003
On Sat, Apr 05, 2003 at 05:27:01PM +0200, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at freebsd.org> writes:
> > On Sat, Apr 05, 2003 at 01:53:23PM +0200, Dag-Erling Sm?rgrav wrote:
> > > That's still a bug. If the files match, nothing is copied. RTFS.
> > Sorry? Where is the bug?
>
> In the documentation. It should clearly state that the new file is
> not installed if it is identical to the old one. No monkey business
> about inode times etc., just "not installed".
>
Well, not quite. The code also works around the multiple hard
links problem (in the -s case only) by unlinking the target
but preserving the atime/mtime of the new target.
I'd prefer that we change the definition of "the same" to
also include the fact that the st_nlink be 1, and not
preserve atime/mtime in that case either. That would
allow us to keep in sync both -C and -Cs cases.
What do you think?
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software AG,
ru at FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030405/d8821e1b/attachment.bin
More information about the freebsd-stable
mailing list