diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-09-22 11:22:04 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-04 20:16:00 +0900 |
commit | 6f14a30022e284398017b47d37f3f717f384f985 (patch) | |
tree | 01783fbc663f00cf8efedd0219ff3b2245715c23 /lib/logger | |
parent | 60b57866ac64ef8a21951c7d5ff7b7f98e1ce15f (diff) | |
download | ruby-6f14a30022e284398017b47d37f3f717f384f985.tar.gz |
[ruby/logger] Consider cygwin a Windows platform
This should fix Ruby Bug 12468.
https://github.com/ruby/logger/commit/49de53d1fc
Diffstat (limited to 'lib/logger')
-rw-r--r-- | lib/logger/log_device.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/logger/log_device.rb b/lib/logger/log_device.rb index fe7d54fb81..96d77b7b6a 100644 --- a/lib/logger/log_device.rb +++ b/lib/logger/log_device.rb @@ -135,7 +135,7 @@ class Logger end end - if /mswin|mingw/ =~ RUBY_PLATFORM + if /mswin|mingw|cygwin/ =~ RUBY_PLATFORM def lock_shift_log yield end |