Backport #8604

backport r41781 (fix unexpected character class range in File.symbolic_modes_to_i

Added by Tomoyuki Chikanaga 10 months ago. Updated 10 months ago.

[ruby-dev:47483]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Associated revisions

Revision 41811
Added by Tomoyuki Chikanaga 10 months ago

merge revision(s) 41781: [Backport #8604]

* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrong
  character class [+-=], which happened to match all desired
  characters but also match undesired characters.

History

#1 Updated by Tomoyuki Chikanaga 10 months ago

  • Subject changed from backport r41781 (fix enexpected character class range in File.symbolic_modes_to_i to backport r41781 (fix unexpected character class range in File.symbolic_modes_to_i

#2 Updated by Tomoyuki Chikanaga 10 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r41811.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 41781: [Backport #8604]

* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrong
  character class [+-=], which happened to match all desired
  characters but also match undesired characters.

Also available in: Atom PDF