Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8dfaac7

Browse files
committedMar 7, 2025
ensure trimmed path
1 parent 3debb1f commit 8dfaac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/stdlib_system.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ end function stdlib_is_directory
650650

651651
end interface
652652

653-
is_directory = logical(stdlib_is_directory(to_c_char(path)))
653+
is_directory = logical(stdlib_is_directory(to_c_char(trim(path))))
654654

655655
end function is_directory
656656

0 commit comments

Comments
 (0)
Please sign in to comment.