Paul Eggert wrote:
>  2025-09-20  Paul Eggert  <[email protected]>
>  
> +     fchownat: fix missing HAVE_FCHOWNAT
> +     * m4/fchownat.m4 (gl_FUNC_FCHOWNAT): Use AC_CHECK_FUNCS instead of
> +     AC_CHECK_FUNC, so that we define HAVE_FCHOWNAT if fchownat
> +     exists. lib/fchownat.c uses HAVE_FCHOWNAT in some cases.

This patch causes a test failure on OpenBSD 7.6 (also visible when building
a coreutils snapshot):

  FAIL: test-fchownat
  ===================

  ../../gltests/test-chown.h:113: assertion 'st1.st_ctime < st2.st_ctime || 
(st1.st_ctime == st2.st_ctime && get_stat_ctime_ns (&st1) < get_stat_ctime_ns 
(&st2))' failed
  Abort trap (core dumped) 
  FAIL test-fchownat (exit status: 134)

I guess OpenBSD's fchownat function does not meet our expectations...

Bruno




Reply via email to