diff options
author | Andy Wingo <wingo@pobox.com> | 2012-06-11 12:25:24 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-06-22 12:33:20 +0200 |
commit | 378daa5fa51f1d193f7236c2691acba59e9af539 (patch) | |
tree | 46e9dff56bb29f14e341432d26f47e1515625c41 /libguile/modules.c | |
parent | 03fcf93bff9f02a3d12ab86be4e67b996310aad4 (diff) | |
download | guile-378daa5fa51f1d193f7236c2691acba59e9af539.tar.gz |
scandir: select? takes basenames, operates on (sub)dirs also
* module/ice-9/ftw.scm (scandir): Run the select? procedure on all
items, including subdirs and the `.' and `..' entries. Pass it the
basename of the file in question instead of the full name.
* test-suite/tests/ftw.test ("scandir"): Adapt expectation for the .test
selector. Add test for a selector that rejects everything.
Diffstat (limited to 'libguile/modules.c')
0 files changed, 0 insertions, 0 deletions