General

Profile

daniel-rikowski (Daniel Rikowski)

  • Login: daniel-rikowski
  • Email: daniel@rikowski.info
  • Registered on: 03/10/2014
  • Last sign in: 07/29/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

08/11/2020

08:34 AM Ruby Bug #17112: Resolv.getaddress fails with IPv6 link-local addresses
After some experiments I noticed that changing `use_ipv6?` isn't the whole story.
In `Resolv#each_address` there seems to be a check for IP addresses. In case an IP address is given no actual resolving is performed.
```ruby
if AddressR...
daniel-rikowski (Daniel Rikowski)

08/10/2020

11:55 AM Ruby Bug #17112 (Closed): Resolv.getaddress fails with IPv6 link-local addresses
I noticed that I cannot resolve any link-local IPv6 address using `Resolv.getaddress`. For example calling `Resolv.getaddress('fe80::eca4:7b00:ecc5:206c%8')` fails with `Resolv::ResolvError`
Resolving any IPv4 address succeedes, as well...
daniel-rikowski (Daniel Rikowski)

03/09/2019

11:29 AM Ruby Bug #15649 (Closed): Dir.glob regression with braces and Windows drive letters
I noticed that certain glob patterns involving braces and drive letters, which did work in Ruby 2.5.3, no longer work in Ruby 2.6.1.
Assume I have a directory `C:\Projects` and my current directory is `C:\Windows`. Using IRB I can obs...
daniel-rikowski (Daniel Rikowski)

07/01/2015

02:28 PM Ruby Bug #10015: Performance regression in Dir#[]
I ran Adrien's benchmark on Windows:
Besides showing a similar performance regression it looks like Dir[] is dramatically slower on Windows:
ruby-2.2.2p95: 161.4
ruby-2.1.6p336: 31.8
(Windows 8.1, SSD, NTFS)
I guess that is ...
daniel-rikowski (Daniel Rikowski)

03/13/2014

09:11 AM Ruby Bug #9618: Pathname#cleanpath creates mixed path separators
No problem, I'm glad to help.
To be honest I'm a little concerned that my report of such a minor problem might result in such a drastic change.
But lets hope for the best :)
daniel-rikowski (Daniel Rikowski)

03/11/2014

06:28 PM Ruby Bug #9618: Pathname#cleanpath creates mixed path separators
I could not find anything official regarding UNC paths with forward slashes in the Win32 documentation for paths (http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx)
So I did a few tests: They work on ...
daniel-rikowski (Daniel Rikowski)
11:07 AM Ruby Bug #9618: Pathname#cleanpath creates mixed path separators
I'm not sure if converting the separators in `#initialize` is the best way to go. I can see the advantages, but I can also imagine existing programs breaking because of that.
Personally I'd prefer a more conservative approach which wo...
daniel-rikowski (Daniel Rikowski)

03/10/2014

12:27 PM Ruby Bug #9618 (Closed): Pathname#cleanpath creates mixed path separators
When using `Pathname#cleanpath` with a Windows path the resulting path contains a mixture of slashes and backslashes.
~~~
require 'pathname'
path = Pathname.new('c:\projects\ruby\bug\test.rb')
path.to_s # => "c:\\proj...
daniel-rikowski (Daniel Rikowski)

Also available in: Atom