diff options
author | Eric Blake <eblake@redhat.com> | 2010-09-17 15:08:29 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-09-17 15:08:44 -0600 |
commit | 89b0db35db10a8beccaf83909c7f62f127fb5821 (patch) | |
tree | 716c39ed6294c0c0765d130b8ab01fcfabf89bd8 /lib/futimens.c | |
parent | 025fae6d61b82020179feb5c72d3747f1ce351c4 (diff) | |
download | gnulib-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/futimens.c')
-rw-r--r-- | lib/futimens.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/futimens.c b/lib/futimens.c index ff7c7b4d36..f5f4d7497f 100644 --- a/lib/futimens.c +++ b/lib/futimens.c @@ -33,5 +33,5 @@ futimens (int fd, struct timespec const times[2]) /* fdutimens also works around bugs in native futimens, when running with glibc compiled against newer headers but on a Linux kernel older than 2.6.32. */ - return fdutimens (NULL, fd, times); + return fdutimens (fd, NULL, times); } |