-
Notifications
You must be signed in to change notification settings - Fork 182
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
[Feedback] The inconsistency of stdlib
internal modules about access
keyword of opening files: stdlib_io/open, stdlib_logger
#465
Comments
Maybe I think Line 211 in d0f13b0
|
Thank you for reporting this incompatibilit. Please see the PR #71 and its code that introduced I don't recall when the change of Another possibiliy would change the logger to accept streamed files, if possible (@wclodius2). |
stdlib
internal modules about access
keyword of opening files: stdlib_io_open, stdlib_loggerstdlib
internal modules about access
keyword of opening files: stdlib_io/open, stdlib_logger
select case (mode_(4:4))
case('u'); access_ = 'sequential'
case('d'); access_ = 'direct'
case('s'); access_ = 'stream'
end select I tried to parse the |
Describe the issue
I tried to use the
stdlib_logger
module, and used theopen
function instdlib_io
, and found that there was an adaptability problem. The root cause was thatstdlib_logger
required to open the log file asaccess=sequential
, while thestdlib_io:open
function defaulted to open the file asaccess=stream
, I was wondering if this is a problem and how to solve this problem?Links
stdlib/src/stdlib_io.fypp
Line 266 in d0f13b0
stdlib/src/stdlib_logger.f90
Lines 384 to 385 in d0f13b0
The text was updated successfully, but these errors were encountered: