/ go Public
os: make os.OpenFile() 'perm' argument variadic to match POSIX
Feedback is required from experts, contributors, and/or the community before a change can be made.
A language change or incompatible library change
What are you proposing?
perm FileModeas a required argument. Since
permis only relevant in
os.O_CREATE(basing this statement off of POSIX
open), it would make more sense for it to be a variadic/optional argument with a signature like the one below.
Why are you proposing this?
The proposed change to the
os.OpenFilefunction signature will make it resemble the POSIX function signature for the
The text was updated successfully, but these errors were encountered: