[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: futimens on AIX 7.1BETA
From: |
Eric Blake |
Subject: |
Re: futimens on AIX 7.1BETA |
Date: |
Fri, 30 Jul 2010 14:17:49 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1 |
On 07/30/2010 01:45 PM, Bruno Haible wrote:
> Hi Eric,
>
> Rainer Tammer's logs say:
>
> checking whether futimens works... no
> configure:30237: $? = 2
> configure: program exited with status 2
>
> Exit code 2 from this test program comes from the line
>
> if (futimens (AT_FDCWD, NULL)) return 2;
>
> What is this code trying to do? POSIX [1] says that
>
> "If utimensat() is passed the special value AT_FDCWD in the fd parameter,
> the current working directory shall be used."
That's a bug in the m4 script. Thanks for calling it to my attention -
the test should be inverted: if (futimens(AT_FDCWD,NULL)==0).
Recent glibc was fixed, but we replace futimens anyways on glibc in
order to cater to people compiling with newer glibc but older kernels,
so no one noticed.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- rename on AIX 7.1BETA, (continued)
- rename on AIX 7.1BETA, Bruno Haible, 2010/07/30
- round on AIX 7.1BETA, Bruno Haible, 2010/07/30
- truncl on AIX 7.1BETA, Bruno Haible, 2010/07/30
- stat on AIX 7.1BETA, Bruno Haible, 2010/07/30
- strndup on AIX 7.1BETA, Bruno Haible, 2010/07/30
- symlink on AIX 7.1BETA, Bruno Haible, 2010/07/30
- unlink on AIX 7.1BETA, Bruno Haible, 2010/07/30
- strtok_r on AIX 7.1BETA, Bruno Haible, 2010/07/30
- wcwidth on AIX 7.1BETA, Bruno Haible, 2010/07/30
- futimens on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: futimens on AIX 7.1BETA,
Eric Blake <=
- getline on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: M4 1.4.14 on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: M4 1.4.14 on AIX 7.1BETA, Rainer Tammer, 2010/07/30
- Re: M4 1.4.14 on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: M4 1.4.14 on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: M4 1.4.14 on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: M4 1.4.14 on AIX 7.1BETA, Rainer Tammer, 2010/07/30
- readlink on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: readlink on AIX 7.1BETA, Rainer Tammer, 2010/07/30
- Re: readlink on AIX 7.1BETA, Eric Blake, 2010/07/30