]> Savannah Git Hosting - gnulib.git/commit
utimecmp: new function utimecmpat
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Feb 2018 17:06:51 +0000 (09:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Feb 2018 17:08:15 +0000 (09:08 -0800)
commita4d64c0060225a40ce7ac12803edd27fdab1e8a8
tree6e7b381b83cf32beaa9be90f08789e99f2129614
parentd50980ddfe6d3b25287725048abba2c65f753686
utimecmp: new function utimecmpat

* lib/utimecmp.c: Include fcntl.h, sys/stat.h and dirname.h.
Do not include utimens.h.
(utimecmpat): New function, generalizing utimecmp.
(utimecmp): Now a thin layer around utimecmpat.
* modules/utimecmp (Depends-on): Depend on dirname-lgpl, fstatat,
utimensat instead of on lstat and utimens.
ChangeLog
lib/utimecmp.c
lib/utimecmp.h
modules/utimecmp