Skip to content

Commit 969a452

Browse files
authored
Merge pull request #940 from fortran-lang/fix-convert-to-absolute-path
Fix `convert_to_absolute_path`
2 parents c020044 + ea7b0c7 commit 969a452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_os.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ subroutine get_absolute_path_by_cd(path, absolute_path, error)
246246

247247
!> Converts a path to an absolute, canonical path.
248248
subroutine convert_to_absolute_path(path, error)
249-
character(len=*), intent(inout) :: path
249+
character(len=:), allocatable, intent(inout) :: path
250250
type(error_t), allocatable, intent(out) :: error
251251

252252
character(len=:), allocatable :: absolute_path

0 commit comments

Comments
 (0)