summaryrefslogtreecommitdiff
path: root/lib/fdutimensat.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-09-17 15:08:29 -0600
committerEric Blake <eblake@redhat.com>2010-09-17 15:08:44 -0600
commit89b0db35db10a8beccaf83909c7f62f127fb5821 (patch)
tree716c39ed6294c0c0765d130b8ab01fcfabf89bd8 /lib/fdutimensat.c
parent025fae6d61b82020179feb5c72d3747f1ce351c4 (diff)
downloadgnulib-89b0db35db10a8beccaf83909c7f62f127fb5821.tar.gz
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>
Diffstat (limited to 'lib/fdutimensat.c')
-rw-r--r--lib/fdutimensat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdutimensat.c b/lib/fdutimensat.c
index 0219a78326..6766b931f4 100644
--- a/lib/fdutimensat.c
+++ b/lib/fdutimensat.c
@@ -40,7 +40,7 @@
Return 0 on success, -1 (setting errno) on failure. */
int
-fdutimensat (int dir, char const *file, int fd, struct timespec const ts[2],
+fdutimensat (int fd, int dir, char const *file, struct timespec const ts[2],
int atflag)
{
int result = 1;