Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4eef6173
...
4eef617307ea0f89d35b0269388b37263231783f
authored
2001-08-31 17:42:30 +0000
by
Jakob Kaivo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
don't list INBOX twice for virtual users
1 parent
7a622985
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
imap4d/list.c
imap4d/list.c
View file @
4eef617
...
...
@@ -203,7 +203,8 @@ list_file (const char *cwd, const char *ref, const char *pattern,
/* Skip "", ".", and "..". "" is returned by at least one buggy
implementation: Solaris 2.4 readdir on NFS filesystems. */
char
const
*
entry
=
dp
->
d_name
;
if
(
entry
[
entry
[
0
]
!=
'.'
?
0
:
entry
[
1
]
!=
'.'
?
1
:
2
]
!=
'\0'
)
if
(
entry
[
entry
[
0
]
!=
'.'
?
0
:
entry
[
1
]
!=
'.'
?
1
:
2
]
!=
'\0'
&&
!
(
is_virtual
&&
!
strcmp
(
entry
,
"INBOX"
)
&&
!
strcmp
(
cwd
,
homedir
)))
{
int
status
=
match
(
entry
,
pattern
,
delim
);
if
(
status
)
...
...
Please
register
or
sign in
to post a comment