summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-num2integral.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-01-08 16:06:35 +0100
committerLudovic Courtès <ludo@gnu.org>2012-01-08 16:16:21 +0100
commitbe96155b508d220efe6f419d7743cf39744ee47c (patch)
treee7e0d5acbf3807c8c4b3b433b9c3b81815cf423d /test-suite/standalone/test-num2integral.c
parent9a38439301aac35961e8f7e316cd02a589b5956f (diff)
downloadguile-be96155b508d220efe6f419d7743cf39744ee47c.tar.gz
ftw: Add an `error' parameter to `file-system-fold'.
* module/ice-9/ftw.scm (errno-if-exception): New macro. (file-system-fold): Add an `error' parameter. Wrap `opendir' and STAT calls in `errno-if-exception' and call ERROR when appropriate. (file-system-tree): Provide an `error' procedure. Return #f when FILE-NAME is unreadable. (scandir): Provide an `error' procedure. * test-suite/tests/ftw.test (%top-builddir): New variable. (make-file-tree, delete-file-tree): New procedures. (with-file-tree): New macro. ("file-system-fold"): Update tests to add an `error' procedure. ["ENOENT", "EACCES", "dangling symlink and lstat", "dangling symlink and stat"]: New tests. ("file-system-tree")["ENOENT"]: New test. ("scandir")["EACCES"]: New test. * doc/ref/misc-modules.texi (File Tree Walk): Update `file-system-fold' documentation.
Diffstat (limited to 'test-suite/standalone/test-num2integral.c')
0 files changed, 0 insertions, 0 deletions