Index: mailbox/mbox/folder.c =================================================================== RCS file: /cvsroot/mailutils/mailutils/mailbox/mbox/folder.c,v retrieving revision 1.21 diff -u -r1.21 folder.c --- mailbox/mbox/folder.c 2 Jun 2004 11:03:59 -0000 1.21 +++ mailbox/mbox/folder.c 9 Jul 2004 22:21:23 -0000 @@ -75,7 +75,7 @@ if (stat (path, &st) < 0) return 1; /* mailbox_open will complain */ - return S_ISREG (st.st_mode) || S_ISCHR (st.st_mode); + return S_ISREG (st.st_mode) || S_ISCHR (st.st_mode) || S_ISDIR (st.st_mode); } return 0; } @@ -253,7 +253,7 @@ /* The listing is not recursif and we use glob() some expansion for us. Unfortunately glob() does not expand the '~'. We also return - The full pathname so it can be use to create other folders. */ + the full pathname so it can be use to create other folders. */ static int folder_mbox_list (folder_t folder, const char *dirname, const char *pattern, struct folder_list *pflist)