]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Accept null arguments for utimensat pathname
authorFlorian Weimer <fweimer@redhat.com>
Thu, 19 Dec 2024 19:56:44 +0000 (20:56 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 19 Dec 2024 20:21:30 +0000 (21:21 +0100)
commit70d083630563831e7069ad412cd3ab0b33638e92
tree19489200ed8cdda06adac90a48b3b602bdd0fefe
parent30d3fd7f4f4bc8f767d73ad4e4b005c1bd234310
Linux: Accept null arguments for utimensat pathname

This matches kernel behavior.  With this change, it is possible
to use utimensat as a replacement for the futimens interface,
similar to what glibc does internally.

Reviewed-by: Paul Eggert <eggert@cs.ucla.edu>
io/sys/stat.h
io/tst-utimensat.c
sysdeps/unix/sysv/linux/utimensat.c