inversion (Yura Babak)
- Login: inversion
- Registered on: 07/10/2019
- Last sign in: 12/26/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 3 | 3 | 6 |
Activity
07/25/2023
-
09:37 AM Ruby Bug #19784 (Closed): String#delete_prefix! problem
- Here is the snipped and the question is in the comments:
``` ruby
fp = 'with_BOM_16.txt'
body = File.read(fp).force_encoding('UTF-8')
p body # "\xFF\xFE1\u00001\u0000"
p body.start_with?("\xFF\xFE") #...
04/20/2023
-
01:27 PM Ruby Bug #19609 (Open): net/http ignores open_timeout, read_timeout on Windows
- This small sample works fine on Linux (it takes 2 seconds to finish) but on Windows, it always fails with a timeout after some **magical 21 seconds**.
``` ruby
require 'net/http'
uri = URI 'http://1.2.3.4'
http = Net::HTTP::new(u...
04/13/2023
-
06:47 PM Ruby Bug #18947: Unexpected Errno::ENAMETOOLONG on Windows
- Today rechecked that for the latest
**ruby 3.2.2** (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt]
still we have same problems (
07/29/2022
-
03:28 PM Ruby Bug #18947: Unexpected Errno::ENAMETOOLONG on Windows
- austin (Austin Ziegler) wrote in #note-1:
> If Ruby does not have an application manifest (I don’t know whether it does or not)
As I understand it was added here — [[Win32] long path name support [Bug #12551]](https://github.com/ruby... -
07:08 AM Ruby Bug #18947 (Open): Unexpected Errno::ENAMETOOLONG on Windows
- On Windows 10, I am working on a script to copy a complex folder structure.
Pathname and FileUtils work fine for me until there is a folder with a **very long path** (>260 chars).
Normally you cannot access such a folder with Ruby....
07/27/2022
-
05:49 AM Ruby Bug #18941 (Closed): Endless loop with a memory leak in FileUtils::mkpath
- On Windows 10 with Ruby `3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]`,
an attempt to create a path on the offline external drive stuck with a memory leak:
``` ruby
require 'fileutils'
FileUtils.mkpath 'W:/new_dir'
```...
10/08/2021
-
05:57 AM Ruby Bug #18244: Unexpected errors output order
- >I believe the real issue here is to $stderr.sync = false, why do you do that?
> ...
Having buffered `$stdout` I thought that `$stderr.sync = false` will make `$stderr` to be in sync with `$stdout`. Now I understand that it was not the ...
10/07/2021
-
08:00 PM Ruby Bug #18244: Unexpected errors output order
- > Why mixing `stdout` and `stderr`?
I have a script that is running periodically in the background on another machine. Sometimes I visit that machine and review logs.
My goal is to see a full story in the log, the same as we can see... -
02:12 PM Ruby Bug #18244: Unexpected errors output order
- > Do you have any reason to make `stderr` unbuffered?
I do add records to stdout within a cycle, so it is better to have it buffered for better overall performance. Also, I have few parallel workers in threads with such cycles. As a r... -
05:58 AM Ruby Bug #18244 (Closed): Unexpected errors output order
- Having this code:
```ruby
# $stderr.sync = false
warn 'warn'
$stderr.puts 'err'
fail
```
When I run it like this `ruby test.rb 2>err.log`, output is ok:
```
warn
err
test.rb:3:in `<main>': unhandled exception
```
But when ...