romuloceccon (Rômulo Ceccon)
- Login: romuloceccon
- Registered on: 05/12/2009
- Last sign in: 03/31/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 5 | 5 |
Activity
03/03/2023
-
02:32 PM Ruby Bug #19468 (Closed): Ruby 3.2: net/http sets UTF-8 encoding for binary responses
- Applied in changeset commit:git|d78ae78fd76e556e281a743c75bea4c0bb81ed8c.
----------
rb_str_modify_expand: clear the string coderange
[Bug #19468]
b0b9f7201acab05c2a3ad92c3043a1f01df3e17f errornously stopped
clearing the coderange.
S... -
10:12 AM Ruby Bug #19468: Ruby 3.2: net/http sets UTF-8 encoding for binary responses
- Another way to reproduce the problem:
```
$ ruby
require "zlib"
p Zlib::Inflate.new.inflate(Zlib.deflate("\u3042".b)).ascii_only?
p Zlib::Inflate.new.inflate(Zlib.deflate("\u3042".b), buffer: "".b).ascii_only?
^D
false # <==... -
02:32 PM Ruby Revision d78ae78f (git): rb_str_modify_expand: clear the string coderange
- [Bug #19468]
b0b9f7201acab05c2a3ad92c3043a1f01df3e17f errornously stopped
clearing the coderange.
Since `rb_str_modify` clears it, `rb_str_modify_expand`
should too.
02/28/2023
-
12:27 PM Ruby Bug #19468 (Closed): Ruby 3.2: net/http sets UTF-8 encoding for binary responses
- net/http on Ruby 3.2 has changed the encoding of binary responses from SSL connected hosts (non-SSL connections are not affected):
``` ruby
# req.rb
require 'openssl'
require 'net/http'
puts "openssl ext: #{OpenSSL::VERSION}"
put...
03/11/2017
-
01:58 PM Ruby Bug #13232: Comparing BigDecimal to float or Rational fails sometimes
- Any update on this one?
Should I look for more easily reproducible steps? What about opening a Github issue/PR?
Thanks.
02/23/2017
-
07:39 PM Ruby Bug #13232: Comparing BigDecimal to float or Rational fails sometimes
- I didn't realize there was a Github repo for BigDecimal when opening this issue. May I repost it there as a pull request?
02/19/2017
-
03:51 AM Ruby Bug #13232 (Closed): Comparing BigDecimal to float or Rational fails sometimes
- Under very special cases trying to compare a BigDecimal to a float or Rational will give an unexpected result:
irb> BigDecimal('1') < 1e-10
=> true
I couldn't find a sequence of steps which reproduces the problem with 100%...
05/28/2013
-
02:27 AM Ruby Bug #8435: Can't build tcl/tk extensions after updating Debian/Ubuntu package
- The idea is that the method would also return the architecture as a string, but return false if dpkg-architecture is not available or is of an older version (DEB_HOST_MULTIARCH unsupported). So a more comprehensive approach could be:
...
05/26/2013
-
09:44 AM Ruby Bug #8435: Can't build tcl/tk extensions after updating Debian/Ubuntu package
- A possible fix:
--- a/ext/tk/extconf.rb 2013-01-10 05:47:20.000000000 -0200
+++ b/ext/tk/extconf.rb 2013-05-25 21:32:54.230020034 -0300
@@ -117,6 +117,11 @@
/64|universal/ =~ RUBY_PLATFORM
end
+def multiarch_supported?
+ ...
05/22/2013
-
11:03 PM Ruby Bug #8435: Can't build tcl/tk extensions after updating Debian/Ubuntu package
- Workaround is to specify actual location of tcl/tk files:
./configure --with-tclConfig-file=/usr/lib/x86_64-linux-gnu/tclConfig.sh --with-tkConfig-file=/usr/lib/x86_64-linux-gnu/tkConfig.sh
It looks like the change in the *.sh ...