Update of bug #68264 (group findutils):

              Item Group:      Test suite failure => Wrong result
             Assigned to:                    None => berny

    _______________________________________________________

Follow-up Comment #1:

Thanks, I could easily reproduce with your light-weight reproducer on
'cfarm220.cfarm.net'.
The test case referred to is 'tests/find/used.sh'; this requires the GNU
date(1) and stat(1) utility, and therefore this test was SKIP'ed for me so
far.

Indeed, this is a libc bug in difftime(3) on OpenBSD which has already been
fixed meanwhile:
https://github.com/openbsd/src/commit/b018fffbd6c97a22e7af2d20e7fa5ba61fdbfb36

Still, I'd like to simplify the code in pred.c and use gnulib
timespec functions instead of manually comparing via compare_ts
and ts_difference. In most cases, the exact difference as double is not needed
but rather only whether one timestamp is larger/equal/smaller than the other.
I'll come up with a patch soon.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68264>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to