jcalvert (Jonathan Calvert)
- Login: jcalvert
- Registered on: 09/06/2024
- Last sign in: 09/06/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/04/2024
-
10:26 PM Ruby Revision 7446f7cd (git): merge revision(s) 0d16c36d0ab2afa2ec79b72b229e69c141ebdaba: [Backport #13831]
- [win32/registry] Fallback to UTF-8 for unknown codepages
There are some codepages like cp708 for which no ruby encoding exists:
$ ruby -e "Encoding.find('cp708')"
Traceback (most recent call last):
...
09/11/2024
-
12:38 AM Ruby Revision 55ddfd58 (git): Fixes [Bug #20718] (#11576)
- Fixes [Bug #20718]
Allow objects that are not of type `RTypedData` to use the default free function, as `RTYPEDDATA_EMBEDDED_P` can return a false positive when casting non-`RTypedData` objects
09/07/2024
-
03:19 AM Ruby Bug #20718 (Closed): Objects created with Data_Make_Struct and the default free function are not freed
- Applied in changeset commit:git|c1a510a8dffa1c8065e47697cd57edae67126712.
----------
[Bug #20718] Free non-`RTypedData` objects
Allow objects that are not of type `RTypedData` to use the default
free function, as `RTYPEDDATA_EMBEDDED_P... -
03:19 AM Ruby Revision c1a510a8 (git): [Bug #20718] Free non-`RTypedData` objects
- Allow objects that are not of type `RTypedData` to use the default
free function, as `RTYPEDDATA_EMBEDDED_P` can return a false positive
when casting non-`RTypedData` objects.
09/06/2024
-
09:55 PM Ruby Bug #20718: Objects created with Data_Make_Struct and the default free function are not freed
- I have added a pull request that should patch the issue. https://github.com/ruby/ruby/pull/11563 - I was able to build Ruby and run it against my example and it does work.
Presumably this would be a candidate for a backport :)
-
09:45 PM Ruby Bug #20718 (Closed): Objects created with Data_Make_Struct and the default free function are not freed
- I discovered a memory leak when using the FFI gem prior to version 1.16 and Ruby 3.3 and up.
During debugging I found that this earlier version of FFI uses Data_Make_Struct (https://github.com/ffi/ffi/blob/v1.15.5/ext/ffi_c/Pointer.c#...