Branch: refs/heads/main
Revision: f6b2dd3
Author: jeremiah-corrado
Link: Make `file.path` always return the absolute path by jeremiah-corrado · Pull Request #20769 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20769 from jeremiah-corrado/file-path-always-abs
Make file.path always return the absolute path. Addresses this issue: I/O Module: Should we remove ``file.path``? · Issue #20271 · chapel-lang/chapel · GitHub
A new config param (filePathAbsolute) was introduced to switch between the new and deprecated behavior.
[ Reviewed by @benharsh ] - Thanks!
Modified Files:
A test/deprecated/IO/f.txt
A test/deprecated/IO/filepath.chpl
A test/deprecated/IO/filepath.good
A test/deprecated/IO/filepath.prediff
A test/functions/iterators/tzakian/open_inside_file_iter.compopts
A test/io/dtjong/file-close-check.compopts
A test/io/dtjong/file-close-check.prediff
A test/library/standard/IO/filePath/COMPOPTS
A test/library/standard/IO/filePath/basic.chpl
A test/library/standard/IO/filePath/basic.good
A test/library/standard/IO/filePath/basic.prediff
A test/library/standard/IO/filePath/fileClosedError.chpl
A test/library/standard/IO/filePath/fileClosedError.good
A test/library/standard/IO/filePath/nested/test.txt
A test/library/standard/IO/filePath/openmemError.chpl
A test/library/standard/IO/filePath/openmemError.good
A test/library/standard/IO/filePath/opentmp.chpl
A test/library/standard/IO/filePath/opentmp.good
A test/library/standard/IO/filePath/test.txt
A test/library/standard/Path/dlongnecke/absPath/fileAbsPath.compopts
A test/library/standard/Path/relPath/relPath.compopts
R test/library/standard/Path/relPath/fileRelPath.chpl
R test/library/standard/Path/relPath/fileRelPath.preexec
M modules/standard/IO.chpl
M modules/standard/Path.chpl
M test/io/dtjong/file-close-check.good
M test/mason/masonUpdateTest.compopts
M test/mason/pkgconfig-tests/COMPOPTS
M tools/mason/MasonUpdate.chpl
Compare: https://github.com/chapel-lang/chapel/compare/e7702a2a07a3...f6b2dd3a954b