[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-utimens.h:105: assertion failed
From: |
Eric Blake |
Subject: |
Re: test-utimens.h:105: assertion failed |
Date: |
Mon, 02 Nov 2009 20:31:27 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Simon Josefsson on 11/2/2009 4:04 AM:
>>> I can't reproduce on current debian testing, so it is likely an old bug.
>> The Linux man pages are explicit that older kernels had a bug where
>> UTIME_OMIT with a non-zero seconds field failed with EINVAL instead of
>> working, but I thought my code path already worked around this.
>
> Errno is EINVAL. I can single-step if the other information in this
> e-mail isn't sufficient, let me know.
>
>> Also, an strace run would be invaluable, to see what actual arguments were
>> passed to the syscall.
>
> Attached.
And it only lists syscall_280. Not very helpful - it means strace is so
old that it doesn't recognize the utimensat syscall or how to display its
arguments. I'm starting to think, however, that this probably means there
was a time when utimesnat existed but did not support UTIME_OMIT (whereas
the current code only works around the problem where utimensat exists and
knows about UTIME_OMIT but rejects non-zero seconds). If I'm right (and
single stepping through it once I get access to the machine will let me
know), then I can work around it in the same way we implement UTIME_OMIT
for futimesat (where UTIME_OMIT has never been supported).
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrvpA8ACgkQ84KuGfSFAYBJCgCfZ7wsag49bCpkRvuF9cwIbGZE
YycAoIBaqawW9GH9trl+Pg5QELyyNd+v
=/Kz0
-----END PGP SIGNATURE-----