Skip to content
  • Lars Kanis's avatar
    7b1d23fd
    Windows: Readlink improvements (#6745) · 7b1d23fd
    Lars Kanis authored
    * Windows: Use readlink emulation for File.readlink
    
    This fixes readlink emulation for the ERROR_MORE_DATA case and general error reporting.
    It now releases GVL while readlink IO operation.
    
    The dedicated rb_readlink was introduced in commit 2ffb8799
    in order to improve encoding and buffer allocation.
    However the encoding issues are solved since ruby-3.0 switched to UTF-8
    and the buffer allocation will be improved in a later commit.
    
    * Windows: Increase the default buffer size for reparse point info
    
    So far nearly all queries of reparse points needed two attempts to get enough buffer.
    
    * Windows: Remove declaration of rb_w32_wreadlink
    
    It was removed in commit 2f6fdd3a
    7b1d23fd
    Windows: Readlink improvements (#6745)
    Lars Kanis authored
    * Windows: Use readlink emulation for File.readlink
    
    This fixes readlink emulation for the ERROR_MORE_DATA case and general error reporting.
    It now releases GVL while readlink IO operation.
    
    The dedicated rb_readlink was introduced in commit 2ffb8799
    in order to improve encoding and buffer allocation.
    However the encoding issues are solved since ruby-3.0 switched to UTF-8
    and the buffer allocation will be improved in a later commit.
    
    * Windows: Increase the default buffer size for reparse point info
    
    So far nearly all queries of reparse points needed two attempts to get enough buffer.
    
    * Windows: Remove declaration of rb_w32_wreadlink
    
    It was removed in commit 2f6fdd3a
Loading