Bug 23333
Summary: | cvs uses lstat() not stat() to determine whether file has been modified locally. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Woodhouse <dwmw2> | ||||
Component: | cvs | Assignee: | Nalin Dahyabhai <nalin> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-11-04 09:30:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Woodhouse
2001-01-04 17:43:47 UTC
Created attachment 7244 [details]
patch to make time_stamp() do both stat() and lstat() and return the newest mtime
I've attached a patch which solves the problem. I haven't yet verified that it doesn't break anything else, but I don't think a false positive from the timestamp comparison should be a problem. Suboptimal perhaps, but all that'll actually get compared needlessly will be symlinks, which shouldn't be a great performance overhead. This patch has been in use without mishap since this bug was filed. In fact, I'd completely forgotten about it till the 7.2 beta 'upgraded' my CVS to a broken version again. Please could it be merged? Bug still present in 7.2 final This will be merged into cvs-1.11.1p1-6. Thanks! |