bug-gnulib
[Top][All Lists]
Advanced

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

Re: futimens broken on GNU Hurd (no support for UTIME_NOW/UTIME_OMIT)


From: Pádraig Brady
Subject: Re: futimens broken on GNU Hurd (no support for UTIME_NOW/UTIME_OMIT)
Date: Wed, 24 Sep 2014 12:37:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 09/24/2014 12:14 PM, Colin Watson wrote:
> Hi,
> 
> futimens is broken on GNU Hurd: it does not support UTIME_NOW or
> UTIME_OMIT.  I filed a bug about that here:
> 
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762677
> 
> The Gnulib test suite already detects this:
> 
>   ../../gltests/test-futimens.h:138: assertion 'st3.st_atime == Y2K' failed
> 
> I have a patch which fixes this test failure, but I don't remember the
> status of my copyright assignment and I don't want a fix for this to
> accidentally get stuck on that.  Perhaps I can just describe it?  On the
> Hurd, HAVE_UTIMENSAT is undefined but HAVE_FUTIMENS is defined.  Before
> calling futimens, fdutimens must check whether UTIME_NOW or UTIME_OMIT
> was used (i.e. adjustment_needed > 0).  If so, it should resolve them to
> real times.

Sounds like it would come under the few line change "trivial" criteria,
so please send the path on.

thanks



reply via email to

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