Eric Blake <[EMAIL PROTECTED]> wrote:
...
> Does this solve your problem?  Unfortunately, it bloats code in the case where
> utimensat works just fine in the kernel.
>
>>From b566edc2489a889d97416d2390be7796aa8cdbeb Mon Sep 17 00:00:00 2001
> From: Eric Blake <[EMAIL PROTECTED]>
> Date: Mon, 2 Jun 2008 15:08:14 -0600
> Subject: [PATCH] Provide futimens/utimensat fallbacks for older kernels.
>
> * lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT, HAVE_FUTIMENS]:
> Provide runtime fallback if kernel lacks support.
> Reported by Mike Frysinger.

Nice compromise.  Thanks!
That looks fine, and passes coreutils tests on a few different systems.
Need to dig up an old-kernel system to test this properly.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to