summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-07 10:52:15 -0600
committerEric Blake <ebb9@byu.net>2009-10-07 19:25:31 -0600
commitdaa06b9967f5f51ec03169000be233b37887287b (patch)
tree03b9c8980eecd4e0f39fece21702aa6588e67fc2 /modules
parent25148dfa57d7dea44929d522812e964dad345a3e (diff)
downloadgnulib-daa06b9967f5f51ec03169000be233b37887287b.tar.gz
areadlinkat-with-size: new module
* modules/areadlinkat-with-size: New module. * lib/areadlinkat-with-size.c (areadlinkat_with_size): New file. * lib/areadlink.h (areadlinkat): Declare it. * MODULES.html.sh (File system functions): Mention it. * modules/areadlinkat-with-size-tests: New test. * tests/test-areadlinkat-with-size.c: New file. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules')
-rw-r--r--modules/areadlinkat-with-size26
-rw-r--r--modules/areadlinkat-with-size-tests13
2 files changed, 39 insertions, 0 deletions
diff --git a/modules/areadlinkat-with-size b/modules/areadlinkat-with-size
new file mode 100644
index 0000000000..7bd60d4650
--- /dev/null
+++ b/modules/areadlinkat-with-size
@@ -0,0 +1,26 @@
+Description:
+Read a symbolic link, without size limitations, relative to fd.
+
+Files:
+lib/areadlink.h
+lib/areadlinkat-with-size.c
+
+Depends-on:
+areadlink-with-size
+stdint
+symlinkat
+
+configure.ac:
+gl_MODULE_INDICATOR([areadlinkat-with-size])
+
+Makefile.am:
+lib_SOURCES += areadlinkat-with-size.c
+
+Include:
+"areadlink.h"
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering, Eric Blake
diff --git a/modules/areadlinkat-with-size-tests b/modules/areadlinkat-with-size-tests
new file mode 100644
index 0000000000..f3d3878f3f
--- /dev/null
+++ b/modules/areadlinkat-with-size-tests
@@ -0,0 +1,13 @@
+Files:
+tests/test-areadlink.h
+tests/test-areadlinkat-with-size.c
+
+Depends-on:
+stdbool
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-areadlinkat-with-size
+check_PROGRAMS += test-areadlinkat-with-size
+test_areadlinkat_with_size_LDADD = $(LDADD) @LIBINTL@