Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change moreRecentFile test to workaround races #2362

Closed
wants to merge 1 commit into from

Commits on Jan 14, 2015

  1. Change moreRecentFile test to workaround races

    This adds `notLessRecentFile a b` to return true not only when `a`
    is younger than `b`, but also when `a` is exactly the same age of `b`, as
    that case is subject to race-conditions (if the system time granularity
    is too low), and it's better to err on assuming it needs to be regenerated.
    
    This is an attempt to provide a pragmatic workaround for haskell#2311
    hvr committed Jan 14, 2015
    Configuration menu
    Copy the full SHA
    b5fb044 View commit details
    Browse the repository at this point in the history