fdutimens, fdutimensat: update signature, again
authorEric Blake <eblake@redhat.com>
Fri, 17 Sep 2010 21:08:29 +0000 (15:08 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 17 Sep 2010 21:08:44 +0000 (15:08 -0600)
commit89b0db35db10a8beccaf83909c7f62f127fb5821
tree716c39ed6294c0c0765d130b8ab01fcfabf89bd8
parent025fae6d61b82020179feb5c72d3747f1ce351c4
fdutimens, fdutimensat: update signature, again

In general, merging:

f<act>(fd,args) and <act>at(dir,name,args)

should produce:

fd<act>at(fd,dir,name,args)

* lib/utimens.h (gl_futimens): Delete, and move signature...
(fdutimens): ...here.
(fdutimensat): Rearrange signature.
(lutimensat): Rename variable for clarity.
* lib/fdutimensat.c (fdutimensat): Update signature.
* lib/utimens.c (fdutimens): Likewise.
(gl_futimens): Delete.
(utimens, lutimens): Update callers.
* lib/futimens.c (futimens): Likewise.
* tests/test-fdutimensat.c: Likewise.
* tests/test-utimens.c: Likewise.
* tests/test-futimens.h: Update comment.
* NEWS: Mention this.
Suggested by Paul Eggert.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
NEWS
lib/fdutimensat.c
lib/futimens.c
lib/utimens.c
lib/utimens.h
tests/test-fdutimensat.c
tests/test-futimens.h
tests/test-utimens.c