Activity
From 12/29/2016 to 01/04/2017
01/04/2017
-
08:05 PM Feature #13103 (Open): [PATCH] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
- [PATCH] random.c (fill_random_bytes_syscall): use "__NR_" prefix on Linux
glibc still does not define the SYS_getr... -
05:18 PM Bug #13102: Confusing method name: Set#delete?
- PS: This has been in the stdlib since at least 1.8.7 according to the docs.
-
05:18 PM Bug #13102 (Rejected): Confusing method name: Set#delete?
- Greetings,
a colleague of mine who recently started to learn Ruby managed to greatly confuse me today when he used... -
03:37 PM Bug #13101 (Closed): Date#rfc2822 and Time#rfc2822 don't return the same format
- Using the rfc2822 method on various date/time classes returns a slightly different result each time:
~~~
Time.now... -
02:15 PM Feature #12650: Use UTF-8 encoding for ENV on Windows
- B Kelly wrote:
> Hi,
>
> Usaku NAKAMURA wrote:
> > We don't want to break compatibility.
> > Wait Ruby3.
>
>... -
11:06 AM Revision 70db4f6e (git): win32/registry.rb: registry type names
- * ext/win32/lib/win32/registry.rb (Win32::Registry#read): show
registry type names instead of numeric values.
git-... -
09:36 AM Bug #13100 (Rejected): OpenSSL::PKey::EC#public_keyでGroup情報がコピーされない。
- OpenSSL::PKey::EC#public_key= で公開鍵(OpenSSL::PKey::EC::Point)をセットし、その公開鍵のgroupのエンコーディング方式を:compressedにセットした後、OpenSSL::...
-
08:21 AM Bug #13081 (Closed): resolv.rb may be the cause of the rubygems bug on Windows
- Applied in changeset r57265.
----------
win32/resolv.rb: ad hoc workaround
* ext/win32/lib/win32/resolv.rb (Win32::... -
01:21 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- I think that to warn and ignore is nice.
-
08:21 AM Revision 3047144a (git): win32/resolv.rb: ad hoc workaround
- * ext/win32/lib/win32/resolv.rb (Win32::Resolv::SZ): an ad hoc
workaround for broken registry. SearchList and othe... -
07:23 AM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- Aaron Patterson wrote:
> The `:itself.to_proc` doesn't look so great as an alternative, but maybe we could make `cas... -
07:06 AM Bug #13099 (Rejected): Binding#irb does not work outside of irb
- You have to `require "irb"` by yourself.
No plan to autoload "irb" by `binding.irb` now. -
06:13 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
- Crypto-analyse of SipHash (and best result for SipHash13)
https://eprint.iacr.org/2014/722.pdf -
05:47 AM Revision aa5ff4a4 (git): lib/cmath.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 AM Bug #13043: Exception#cause can become recursive/infinite
- I've finally gave up to backport this into `ruby_2_2`, because of a test of `rake` failed.
I doubt that the test is ... - 02:02 AM Revision ffb1a5d8 (git): Revert r57229 and finally giving up backporting [Bug #13043]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@57263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:31 AM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
- [email protected] wrote:
> If nothing else, I would consider right if documentation discouraged their use ...
... -
12:30 AM Revision 2c1aa788 (git): adjust indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/03/2017
-
11:36 PM Bug #13099 (Closed): Binding#irb does not work outside of irb
- I had read that one of the new features of 2.4.0 is that `Binding#irb` is now a method, so I decided to test this out...
-
11:28 PM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
- I have no pro or con opinion, just adding links for people who just want to click on stuff for the corresponding docu...
-
09:20 AM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
- If nothing else, I would consider right if documentation discouraged their use ...
-
09:17 AM Feature #13097 (Closed): Deprecate Socket.gethostbyaddr and Socket.gethostbyname
- Is there a reason to keep these methods around? They were marked obsolete by POSIX.1-2001 and the POSIX.1-2008 remove...
-
11:27 PM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- "Over the past year or so, I've been trying to avoid programming in any compiled languages."
I am going a bit off-... -
07:01 PM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- Eric Wong <[email protected]> wrote:
> We can support String#pack
I meant Array#pack ENOCOFFEE :x -
06:31 PM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- [email protected] wrote:
> >We should expect users of this to be able to read and follow
> >documentation.... -
11:59 AM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- >We should expect users of this to be able to read and follow
>documentation. We already have a warning about it. I ... -
10:42 PM Feature #13001 (Closed): Add `full` option to `ObjectSpace.dump_all`
- Applied in changeset r57260.
----------
Add `full` option to `ObjectSpace.dump_all`
The `full` option includes all ... - 10:42 PM Revision e758e9da (git): * 2017-01-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:42 PM Revision ed2abc43 (git): Add `full` option to `ObjectSpace.dump_all`
- The `full` option includes all slots (even `T_NONE`) in the JSON output.
This is to help with debugging heap fragment... -
08:44 PM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- While `:itself.to_proc` works, I still can't see when one would need it, and it's much easier and clearer to check fo...
-
06:24 PM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- IMO the backwards incompatibility risks outweigh the rewards.
As Marc-Andre says, `array.grep(true)` and `array.gr... -
03:10 PM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- Marc-Andre Lafortune wrote:
> 2) There is no good replacement for the current uses of `when true` and `when false`... -
07:12 PM Feature #11547: remove top-level constant lookup
- Ah, no, https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/57244/entry/variable.c#L419 seems to say ...
-
07:07 PM Feature #11547: remove top-level constant lookup
- Oh, didn't look at the patch. This means String::Hash returns nil?
-
02:04 PM Feature #13017: Switch SipHash from SipHash24 to SipHash13
- I was learning about SipHash13 this holiday season.
I understand that the whole concept of using SipHash as hash f... -
02:02 PM Bug #13098 (Closed): miniruby fails with SEGV on NetBSD/powerpc
- Hi,
the build of ruby 2.3.3 fails on NetBSD/macppc (which is a powerpc architecture) with
~~~
...
linking min... -
10:49 AM Revision 6f31dcd7 (git): compile.c: fallback nil
- * compile.c (iseq_compile_each): push fallback nil only when
defined guard is added.
git-svn-id: svn+ssh://ci.ruby... -
09:48 AM Revision 7e001f28 (git): compile.c: omit unnecessary defined guard
- * compile.c (defined_expr): omit unnecessary defined guard when
method call has no receiver and no arguments.
git-... -
09:47 AM Revision 0886a027 (git): forwardable.rb: fix branches
- * lib/forwardable.rb (instance_delegate, single_delegate): fix
inverted branches.
git-svn-id: svn+ssh://ci.ruby-la... -
09:35 AM Revision a50cc9ce (git): forwardable.rb: use defined?
- * lib/forwardable.rb (_delegator_method): use defined? operator
instead of binding and calling unbound Kernel#respo... -
08:40 AM Revision 46c0e79b (git): forwardable.rb: use defined?
- * lib/forwardable.rb (_delegator_method): use defined? operator
instead of binding and calling unbound Kernel#respo... -
03:28 AM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
- Yes this issue is present in 2.2.6.
When I checked the logs I saw the same symptoms reported here.
When I check... - 02:00 AM Revision 363c7839 (git): * 2017-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 AM Revision aa710736 (git): lib/benchmark.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/02/2017
-
11:31 PM Feature #11547: remove top-level constant lookup
- I would honestly rather see it raise an exception instead of silently return nil. I'd rather KNOW my bug than hunt it.
-
11:15 PM Bug #13096 (Closed): error using undef_method + refinements
- I've got a bug report on minitest/mock that I've reduced to the following:
~~~ ruby
class Object
def to_query ... -
10:21 PM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- [email protected] wrote:
> I disagree.
>
> http://man7.org/linux/man-pages/man2/syscall.2.html clearly e... -
01:14 PM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- I disagree.
http://man7.org/linux/man-pages/man2/syscall.2.html clearly explains a caller must care
Architecture-... -
04:52 AM Feature #13095 (Open): [PATCH] io.c (rb_f_syscall): remove deprecation notice
- io.c (rb_f_syscall): remove deprecation notice
New, perhaps experimental syscalls appear all the time which
may n... -
01:02 PM Bug #13094: Zlib::GzipReader eof?がfalseなのにgetsでnilが返ってくる
- たしかにFileとZlib::GzipReaderでeof?の挙動が違いますね。
Fileの方にあわせるべきかなぁ……。
さておき、現状こうなってしまっていますし、修正は2.5からだと思うのでgetsの戻り値で分岐した方がよい... -
03:35 AM Bug #13094 (Closed): Zlib::GzipReader eof?がfalseなのにgetsでnilが返ってくる
- 下記のように、eof?がfalseであればgetsでnilが返ってくることはないことを期待してるとエラーが起きてしまいます。
zlibでeof?は非推奨でしょうか?
~~~ ruby
require 'zlib'
o = ... -
12:20 PM Revision 6fca65e7 (git): lib/English.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:59 AM Bug #13092: Interpreter Bug
- Nobuyoshi Nakada wrote:
> How to reproduce it?
I have no idea what is causing the bug,
The rake task "channel... -
08:56 AM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
- This code has the same symptoms. Removing the second begin/rescue, the method, or the return statement makes the code...
-
01:40 AM Revision b70d3f67 (git): adjust spacing [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 AM Revision 03b8cb95 (git): object.c: rb_class_alloc
- * object.c (rb_obj_alloc): add pathological check of klass for
extension libraries which do not check given argumen... -
12:22 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- I think that the way it currently exists is logical. As `=~` is an Object method, it is worth while keeping the more ...
-
12:16 AM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- I think that a possible middle ground replacement would be to introduce truthy and falsy constants into `TrueClass` a...
-
12:03 AM Bug #13093 (Closed): JSON Parse
- Applied in changeset r57249.
----------
object.c: rb_class_s_new
* object.c (rb_class_new_instance): add pathologic... -
12:03 AM Revision 42361548 (git): object.c: rb_class_s_new
- * object.c (rb_class_new_instance): add pathological check of
klass for extension libraries which do not check give...
01/01/2017
-
11:41 PM Bug #13093 (Feedback): JSON Parse
- I got a `NameError`.
```
-:1:in `<main>': undefined local variable or method `remplace_template' for main:Object ... -
10:36 PM Bug #13093 (Closed): JSON Parse
- When trying to parse a JSON file from the following format:
```
[
{"original":"yahoo.fr","replace":"yahoo.fr"},
... -
10:26 PM Bug #13092 (Feedback): Interpreter Bug
- How to reproduce it?
-
09:03 PM Bug #13092: Interpreter Bug
- The same project works with ruby 2.3.1.
http://github.com/marceloboeira/feedcast -
08:15 PM Bug #13092 (Closed): Interpreter Bug
- You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details... -
10:20 PM Revision 1c80c388 (git): dir.c: getattrlist on OSX 10.5
- * dir.c (is_case_sensitive): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:68829] [B... -
04:52 PM Bug #13091: 2.4.0がコンパイルできない
- 修正しました。
#11054 は修正されたはずだけどなー、っと思ったら別の場所で分岐無しで使ってるんですね。
しかし、7世代以上前のmacOSを今サポートすべきだとは思わないのでそのままですかね。
なお、手元で動かす分に... -
04:42 PM Bug #13091 (Closed): 2.4.0がコンパイルできない
- Applied in changeset r57246.
----------
fix typo [Bug #13091] -
01:53 PM Bug #13091 (Closed): 2.4.0がコンパイルできない
- 2.4.0のコンパイルができません。
(省略)
compiling array.c
array.c: In function ‘rb_ary_zip’:
array.c:3340: error: syntax error ... -
04:51 PM Bug #8289: [].join.encoding # => US-ASCII (I expect also UTF-8
- Khalil Fazal wrote:
> puts [].join.encode("utf-8").encoding
`puts [].join.force_encoding("utf-8").encoding` is co... - 04:42 PM Revision c2ebf056 (git): * 2017-01-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:42 PM Revision b5381899 (git): fix typo [Bug #13091]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:07 PM Feature #11547: remove top-level constant lookup
- In particular this one http://guides.rubyonrails.org/autoloading_and_reloading_constants.html#when-constants-aren-t-m...
-
02:58 PM Feature #11547: remove top-level constant lookup
- The fix is even simpler than what I was picturing: https://github.com/ruby/ruby/commit/44a2576f798b07139adde2d279e48f...
-
09:08 AM Feature #11547 (Closed): remove top-level constant lookup
- Applied in changeset r57244.
----------
variable.c: top-level constant look-up
* variable.c (rb_const_search): [EXP... -
09:06 AM Feature #11547: remove top-level constant lookup
- Sorry, missed this feature.
-
10:06 AM Bug #13036 (Rejected): Date.parse mishandling spanish months "Abril y Agosto"
- Shyouhei Urabe wrote:
> So is it a dates_international.rb's problem?
Yes. But that file has other problems, among... -
04:21 AM Bug #13036: Date.parse mishandling spanish months "Abril y Agosto"
- So is it a dates_international.rb's problem? Then sorry but the ruby's core do not ship that library. You might hav...
-
09:17 AM Revision 9df88e9c (git): test for [Feature #11547]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:07 AM Revision 44a2576f (git): variable.c: top-level constant look-up
- * variable.c (rb_const_search): [EXPERIMENTAL] remove top-level
constant look-up. [Feature #11547]
git-svn-id: sv... -
08:22 AM Revision 46454b5e (git): passed block should keep the lambda-ness
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/31/2016
- 10:44 PM Revision 5659843d (git): * 2017-01-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:44 PM Revision 9043c073 (git): Update submaintainer of default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:40 PM Bug #13036: Date.parse mishandling spanish months "Abril y Agosto"
- Even if Ruby have never intended to parse dates other than English it works quite well parsing Spanish dates. I'm qui...
-
04:37 PM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- > 4) Increases the confusion of true vs "truthy" and false vs "falsey"
I think that the words "true" and "false" a... -
08:08 AM Bug #13090 (Closed): Cannot use return statement in lambdas using instance_eval (MRI 2.4)
- Applied in changeset r57240.
----------
vm.c: fix return in lambda
* vm.c (invoke_block_from_c_splattable): pass la... -
08:07 AM Revision 91587f6b (git): vm.c: fix return in lambda
- * vm.c (invoke_block_from_c_splattable): pass lambda-ness.
* vm_eval.c (yield_under): invoke lambda proc properly.
... -
03:29 AM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
- Your patch also works when using the rubyinstaller-built shared openssl 1.0.2j lib.
`make test-all` segfaults, but... -
01:01 AM Bug #13085: io.c io_fwrite creates garbage
- Proposed patch to temporarily freeze string while copying
~~~diff
io.c (io_fwrite): temporarily freeze string... - 12:41 AM Revision 31729338 (git): * 2016-12-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:41 AM Revision ff4e14f0 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:41 AM Revision f01d3b23 (git): add benchmark for IO.copy_stream IO#write case
- I will attempt to reduce garbage in proposed fix
for https://bugs.ruby-lang.org/issues/13085
git-svn-id: svn+ssh://c...
12/30/2016
-
11:28 PM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
- Before you decide whether to commit your patch to support using static openssl libs, I'll double check that a 32bit b...
-
08:06 PM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
- Yes, that was very surprising to find windows openssl using gdi32.dll.
I've got more testing to do, but your patch... -
05:52 PM Bug #8289: [].join.encoding # => US-ASCII (I expect also UTF-8
- A work around for my own projects:
~~~ ruby
class Array
alias_method :old_join, :join
# A work around for... -
02:42 PM Bug #13090 (Closed): Cannot use return statement in lambdas using instance_eval (MRI 2.4)
- Hello,
I'm pretty sure I've found a bug after running specs for dry-initializer gem on MRI 2.4.
I managed to fin... -
12:53 PM Bug #13078: with Integer a and b, a.fdiv(b) sometimes inaccurate than Rational(a, b).to_f
- pull requested
https://github.com/ruby/ruby/pull/1508 -
11:45 AM Feature #11547: remove top-level constant lookup
- With 2.4 released and I wasn't able to find anything related to this issue in https://github.com/ruby/ruby/blob/v2_4_...
-
09:14 AM Feature #12508: Integer#mod_pow
- Updated as Integer#pow, with such API.
-
08:01 AM Bug #13089 (Closed): r57227 の変更ではリークが起きるようです
- Applied in changeset r57236.
----------
rational.c: memory leak in gcd
* rational.c (rb_gcd_gmp): fix memory leak. ... -
07:59 AM Bug #13089 (Closed): r57227 の変更ではリークが起きるようです
- きしもとです
手元の環境で、最新版(r57227 の変更以降)で、以下のような
スクリプトを実行しながら、topコマンドでインタプリタのプロセスを
見ていると、リークがあるようで、SIZE, RES がじりじりと増えて
ゆ... -
08:01 AM Revision 994d13b9 (git): rational.c: memory leak in gcd
- * rational.c (rb_gcd_gmp): fix memory leak. patched by KISHIMOTO,
Makoto <ksmakoto AT dd.iij4u.or.jp> in [ruby-dev... -
07:53 AM Bug #13069: mkmf: ignore linker warnings on OpenBSD
- Thansk for addressing the warnings. Your proposed patch solves my problem.
12/29/2016
-
09:58 PM Bug #13069: mkmf: ignore linker warnings on OpenBSD
- I think this is a better fix. This keeps the `:werror` behavior in `Logging::postpone`, it just turns off the use of...
-
09:03 PM Bug #13069 (Open): mkmf: ignore linker warnings on OpenBSD
- Some of the warnings were addressed in r57189, r57190, and r57191. However, I think we should rethink checking for a...
- 04:16 PM Revision c922626a (git): * 2016-12-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:16 PM Revision c326ab8c (git): test/ruby/test_pack.rb: fix test case added by r57187
- The test case for String#unpack added by r57187 is not properly testing
because the String will be filled after the b... -
03:54 PM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
- Apparently my change broke it:
https://github.com/ruby/openssl/commit/5ba12a364fa5019f0e0f1e356087c001330097f1
... -
01:16 PM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- Yes, Windows seems to ignore the value when it is not REG_SZ, too.
But I wonder if it is desirable to ignore such br... -
12:27 PM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- How about ignoring the registry value if its type is not expected type?
```diff
Index: resolv.rb
===============... -
12:43 PM Bug #13088 (Rejected): Strange behavior in String.to_i
- Matheus Mina wrote:
> It converts the first number in the string to integer. Is it correct?
Yes.
http://ruby-do... -
11:10 AM Bug #13088 (Rejected): Strange behavior in String.to_i
- When I try convert a string to integer using .to_i method it has a strange behavior.
It converts the first number ... -
12:22 PM Bug #13087 (Closed): Regression of instance_exec behaviour in ruby 2.4
-
11:05 AM Bug #13087 (Closed): Regression of instance_exec behaviour in ruby 2.4
- I've just caught up this running our test suite against the newly released ruby 2.4. Here is the repro gist:
```ru... -
10:32 AM Revision e383c2ea (git): rational.c: refactor to_r
- * rational.c (read_num, read_rat_nos): refactor to curtail
creating Rational objects.
git-svn-id: svn+ssh://ci.rub... -
09:27 AM Bug #13086 (Rejected): /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36: [BUG] Segmentation fault
- You load the extension library for 2.2.1 from ruby 1.9.1.
-
05:40 AM Bug #13086: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36: [BUG] Segmentation fault
- I am in a cloud9 instance.
I just updated nokogiri to 1.7.0.
I have attached the bug report. -
05:32 AM Bug #13086 (Rejected): /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36: [BUG] Segmentation fault
- require 'nokogiri'
at first, it worked ok, but as I reload my script, I encounter the SegFault.
could be an issue... -
09:26 AM Bug #13084 (Closed): String cast to Rational on 2.4.0p0 results in SegFault with Mathn required
- Applied in changeset r57232.
----------
rational.c: fix for mathn
* rational.c (read_num, read_rat_nos): dispatch b... -
12:21 AM Bug #13084: String cast to Rational on 2.4.0p0 results in SegFault with Mathn required
- Can be replicated on Linux via Docker
Below Segfaults
~~~
docker run -it ruby:slim ruby -e 'require "mathn"; ... -
12:06 AM Bug #13084 (Closed): String cast to Rational on 2.4.0p0 results in SegFault with Mathn required
- See the below example, while `mathn` is required recasting a string into a Rational causes a SegFault. Remove mathn ...
-
09:26 AM Revision ff93ad62 (git): rational.c: fix for mathn
- * rational.c (read_num, read_rat_nos): dispatch by the type of numerator, for
mathn. [ruby-core:78893] [Bug #13084... - 09:06 AM Revision 69938349 (git): * 2016-12-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:05 AM Revision 8691f8ca (git): rational.c: canonicalization
- * rational.c (canonicalization): define always regardless CANON,
and remove unnecessary ifdefs.
git-svn-id: svn+ss... -
08:46 AM Bug #13082: Regex match from position behavior with start of line/string special character
- Thanks, I didn't know about \G! It's a little hard to understand in this situation, do you think it might be helpful ...
-
02:39 AM Bug #13082 (Rejected): Regex match from position behavior with start of line/string special character
- Offset 2 is not a beginning of a line, nor the beginning of the string.
Use `\G`. -
01:11 AM Bug #13085 (Closed): io.c io_fwrite creates garbage
- Relying on rb_str_new_frozen for unconverted strings does not
save memory because copy-on-write is always triggered ...
Also available in: Atom