/[mailutils]/mailutils/imap4d/list.c
ViewVC logotype

Diff of /mailutils/imap4d/list.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by gray, Mon May 28 14:28:39 2001 UTC revision 1.9 by jkaivo, Fri Aug 31 17:42:30 2001 UTC
# Line 203  list_file (const char *cwd, const char * Line 203  list_file (const char *cwd, const char *
203        /* Skip "", ".", and "..".  "" is returned by at least one buggy        /* Skip "", ".", and "..".  "" is returned by at least one buggy
204           implementation: Solaris 2.4 readdir on NFS filesystems.  */           implementation: Solaris 2.4 readdir on NFS filesystems.  */
205        char const *entry = dp->d_name;        char const *entry = dp->d_name;
206        if (entry[entry[0] != '.' ? 0 : entry[1] != '.' ? 1 : 2] != '\0')        if (entry[entry[0] != '.' ? 0 : entry[1] != '.' ? 1 : 2] != '\0' &&
207              !(is_virtual && !strcmp (entry, "INBOX") && !strcmp(cwd, homedir)))
208          {          {
209            int status = match (entry, pattern, delim);            int status = match (entry, pattern, delim);
210            if (status)            if (status)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26