Skip to content

Minor fixes: to list_files and mkdir in fpm_filesystem #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 26, 2020
Merged

Minor fixes: to list_files and mkdir in fpm_filesystem #208

merged 1 commit into from
Oct 26, 2020

Conversation

LKedward
Copy link
Member

As identified by @urbanjost, there are inconsistencies in the behaviour of our mkdir and list_files filesystem routines on Windows and Linux.

PR implements the following fixes:

  • mkdir will not fail if dir already exists;
  • list_files will include hidden files but exclude '.' and '..'

Fixes to ensure consistency between Windows and Linux: mkdir will not fail if dir already exists; list_files will include hidden files but exclude '.' and '..'
@milancurcic milancurcic requested a review from awvwgk October 26, 2020 21:13
@milancurcic
Copy link
Member

Bump. Let's get one more review here before merging.

@interkosmos
Copy link
Member

Looks fine.

@milancurcic
Copy link
Member

Thank you! Will merge.

@milancurcic milancurcic merged commit e92d9c9 into fortran-lang:master Oct 26, 2020
@LKedward LKedward deleted the filesystem-fixes branch December 9, 2020 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants