scandir patch

2012-06-11 Thread Andy Wingo
Any thoughts on this patch? From 711ca0a5ed7351d6fde360f9b451600e77403522 Mon Sep 17 00:00:00 2001 From: Andy Wingo wi...@pobox.com Date: Mon, 11 Jun 2012 12:25:24 +0200 Subject: [PATCH] scandir: select? takes basenames, operates on (sub)dirs also * module/ice-9/ftw.scm (scandir): Run the

Re: scandir patch

2012-06-11 Thread Ludovic Courtès
Hi! Andy Wingo wi...@pobox.com skribis: * module/ice-9/ftw.scm (scandir): Run the select? procedure on all items, including subdirs and the `.' and `..' entries. Since the goal was to mimic scandir(3), I double-checked: #include stdlib.h #include unistd.h #include dirent.h int main () {

Re: scandir patch

2012-06-11 Thread Nala Ginrut
Fine to me. ;-) On Mon, Jun 11, 2012 at 6:26 PM, Andy Wingo wi...@pobox.com wrote: Any thoughts on this patch? -- http://wingolog.org/