diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-20 06:09:29 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-20 21:17:32 -0600 |
commit | 06b8c126a964a60ad353cc4f7b296060ae5c9df4 (patch) | |
tree | add99b346ff9a9e76ae8999fc170d9b3815c395b /modules/fdutimensat | |
parent | e94df9f0f603d84f87e4dc12d0e6eb24ad1c062a (diff) | |
download | gnulib-06b8c126a964a60ad353cc4f7b296060ae5c9df4.tar.gz |
fdutimensat: new module
Needed for coreutils copy.c to be rewritten to use fts.
* modules/fdutimensat: New file.
* lib/fdutimensat.c (fdutimensat): Likewise.
* lib/utimens.h (fdutimensat, lutimensat): Declare new functions.
* MODULES.html.sh (File system functions): Mention module.
* modules/fdutimensat-tests: New test.
* tests/test-fdutimensat.c: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/fdutimensat')
-rw-r--r-- | modules/fdutimensat | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/fdutimensat b/modules/fdutimensat new file mode 100644 index 0000000000..38f8158dbd --- /dev/null +++ b/modules/fdutimensat @@ -0,0 +1,30 @@ +Description: +Set file access and modification times, relative to a directory. + +Files: +lib/fdutimensat.c +lib/utimens.h + +Depends-on: +futimens +inline +utimensat + +configure.ac: +gl_MODULE_INDICATOR([fdutimensat]) + +Makefile.am: +lib_SOURCES += fdutimensat.c + +Include: +<fcntl.h> +"utimens.h" + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering, Eric Blake |