bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: touch and utimens troubles on new/old software combinations


From: Jim Meyering
Subject: Re: touch and utimens troubles on new/old software combinations
Date: Wed, 04 Jun 2008 16:53:04 +0200

Eric Blake <address@hidden> 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 <address@hidden>
> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]