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
de88b2bb
...
de88b2bb75370363e0f7942a3fac6dc369186dd2
authored
2003-08-12 20:00:02 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(_scan): Prompt for creating the folder unless --create was given.
1 parent
a7219823
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
mh/folder.c
mh/folder.c
View file @
de88b2b
...
...
@@ -280,9 +280,10 @@ _scan (const char *name, int depth)
dir
=
opendir
(
name
);
if
(
!
dir
&&
errno
==
ENOENT
&&
create_flag
)
if
(
!
dir
&&
errno
==
ENOENT
)
{
mh_check_folder
(
name
,
0
);
if
(
mh_check_folder
(
name
,
!
create_flag
))
return
;
dir
=
opendir
(
name
);
}
...
...
Please
register
or
sign in
to post a comment