[#55794] how to run ruby tests (backporting fix for cve-2013-4073) — Jordi Massaguer Pla <jmassaguerpla@...>
Hi ruby core developers,
4 messages
2013/07/04
[#55799] Re: how to run ruby tests (backporting fix for cve-2013-4073)
— V咜 Ondruch <v.ondruch@...>
2013/07/04
Dne 4.7.2013 13:19, Jordi Massaguer Pla napsal(a):
[#55853] ruby 1.9.3 p448 breaks ABI — V咜 Ondruch <v.ondruch@...>
Hi,
13 messages
2013/07/08
[#55854] Re: ruby 1.9.3 p448 breaks ABI
— Yorick Peterse <yorickpeterse@...>
2013/07/08
Out of curiosity, does this tool take into account deprecated/internal
[#55860] Re: ruby 1.9.3 p448 breaks ABI
— V咜 Ondruch <v.ondruch@...>
2013/07/08
Dne 8.7.2013 17:03, Yorick Peterse napsal(a):
[#55861] Re: ruby 1.9.3 p448 breaks ABI
— KOSAKI Motohiro <kosaki.motohiro@...>
2013/07/08
(7/8/13 5:36 PM), V咜 Ondruch wrote:
[#55864] Re: ruby 1.9.3 p448 breaks ABI
— Jon <jon.forums@...>
2013/07/08
On Tue, 9 Jul 2013 06:50:16 +0900
[#55886] [ruby-trunk - Bug #8616][Open] Process.daemon messes up threads — "tenderlovemaking (Aaron Patterson)" <aaron@...>
10 messages
2013/07/09
[#55976] [ruby-trunk - Feature #8629][Open] Method#parameters should include the default value — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>
13 messages
2013/07/12
[#55984] [ruby-trunk - Bug #8630][Open] Transcoding high-bit bytes from ASCII-8BIT to a text encoding should be :invalid, not :undef — "headius (Charles Nutter)" <headius@...>
5 messages
2013/07/12
[#55986] Re: [ruby-trunk - Bug #8630][Open] Transcoding high-bit bytes from ASCII-8BIT to a text encoding should be :invalid, not :undef
— Tanaka Akira <akr@...>
2013/07/12
2013/7/13 headius (Charles Nutter) <headius@headius.com>:
[#55988] Next developer's meeting — Aaron Patterson <tenderlove@...>
Hi,
4 messages
2013/07/13
[#56001] [CommonRuby - Feature #8635][Open] attr_accessor with default block — "judofyr (Magnus Holm)" <judofyr@...>
5 messages
2013/07/14
[#56004] [ruby-trunk - Feature #8636][Open] Documentation hosting on ruby-lang.org — "zzak (Zachary Scott)" <e@...>
18 messages
2013/07/15
[#56005] [ruby-trunk - Feature #8637][Open] I18n documentation — "zzak (Zachary Scott)" <e@...>
5 messages
2013/07/15
[#56009] [ruby-trunk - Feature #8637] I18n documentation
— "kou (Kouhei Sutou)" <kou@...>
2013/07/15
[#56010] [ruby-trunk - Feature #8637] I18n documentation
— "zzak (Zachary Scott)" <e@...>
2013/07/15
[#56019] [ruby-trunk - Feature #8639][Open] Add Queue#each — "avdi (Avdi Grimm)" <avdi@...>
15 messages
2013/07/15
[#56020] [ruby-trunk - Feature #8639] Add Queue#each
— "rkh (Konstantin Haase)" <me@...>
2013/07/15
[#56029] Re: [ruby-trunk - Feature #8639][Open] Add Queue#each
— Alex Young <alex@...>
2013/07/15
On Tue, 2013-07-16 at 00:44 +0900, avdi (Avdi Grimm) wrote:
[#56027] [CommonRuby - Feature #8640][Open] Add Time#elapsed to return nanoseconds since creation — "tenderlovemaking (Aaron Patterson)" <aaron@...>
24 messages
2013/07/15
[#56037] [CommonRuby - Feature #8640] Add Time#elapsed to return nanoseconds since creation
— duerst (Martin Dürst) <duerst@...>
2013/07/16
[#56068] [CommonRuby - Feature #8640] Add Time#elapsed to return nanoseconds since creation
— "phluid61 (Matthew Kerwin)" <matthew@...>
2013/07/17
[#56070] Re: [CommonRuby - Feature #8640] Add Time#elapsed to return nanoseconds since creation
— Aaron Patterson <tenderlove@...>
2013/07/18
On Thu, Jul 18, 2013 at 07:59:34AM +0900, phluid61 (Matthew Kerwin) wrote:
[#56041] [CommonRuby - Feature #8643][Open] Add Binding.from_hash — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>
26 messages
2013/07/16
[#56087] [ruby-trunk - Feature #8658][Open] Process.clock_gettime — "akr (Akira Tanaka)" <akr@...>
23 messages
2013/07/19
[#56092] [ruby-trunk - Feature #8658] Process.clock_gettime
— "akr (Akira Tanaka)" <akr@...>
2013/07/20
[#56132] Re: [ruby-trunk - Feature #8658] Process.clock_gettime
— KOSAKI Motohiro <kosaki.motohiro@...>
2013/07/23
(7/20/13 6:39 AM), akr (Akira Tanaka) wrote:
[#56135] Re: [ruby-trunk - Feature #8658] Process.clock_gettime
— Tanaka Akira <akr@...>
2013/07/24
2013/7/24 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
[#56096] [CommonRuby - Feature #8661][Open] Add option to print backstrace in reverse order(stack frames first & error last) — "gary4gar (Gaurish Sharma)" <gary4gar@...>
18 messages
2013/07/20
[#56103] Ruby Developer Meeting Japan 2013-07-27 — "NARUSE, Yui" <naruse@...>
Hi,
6 messages
2013/07/21
[#56228] [ruby-trunk - Bug #8697][Open] Fixnum complement operator issue — "torimus (Torimus GL)" <torimus.gl@...>
8 messages
2013/07/27
[#56247] [ruby-trunk - Feature #8700][Open] Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize) — "akr (Akira Tanaka)" <akr@...>
8 messages
2013/07/28
[#56270] [ruby-trunk - Feature #8707][Open] Hash#reverse_each — "Glass_saga (Masaki Matsushita)" <glass.saga@...>
8 messages
2013/07/30
[#56276] [ruby-trunk - Feature #8707][Feedback] Hash#reverse_each
— "matz (Yukihiro Matsumoto)" <matz@...>
2013/07/31
[ruby-core:55835] [ruby-trunk - Bug #8569][Closed] DLL exports interfere with Win32 Application Embedding Ruby 1.9.3
From:
"luislavena (Luis Lavena)" <luislavena@...>
Date:
2013-07-07 21:46:35 UTC
List:
ruby-core #55835
Issue #8569 has been updated by luislavena (Luis Lavena). Status changed from Open to Closed Hello, I'm not a native english speaker, so dunno how to word this accordingly. Please feel free to take a look to the source code, even on GitHub: http://github.com/ruby/ruby Send a pull request and open an issue here for commiters to refer to. As for the change of behavior, I don't think it will be an easy task, as explained before, so I wouldn't hold my breath until that happens. Thank you. ---------------------------------------- Bug #8569: DLL exports interfere with Win32 Application Embedding Ruby 1.9.3 https://bugs.ruby-lang.org/issues/8569#change-40342 Author: grrussel (George Russell) Status: Closed Priority: Normal Assignee: cruby-windows Category: Target version: ruby -v: 1.9.3-p429 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN I am hitting this same situation in embedding Ruby into an existing application: it manifests as crashes in fclose, which on inspection in the debugger, is shown to be the fclose from the Ruby DLL. It was rather unexpected to have this DLL change the fclose implementation used by the embedding application! Somewhat frustratingly, while this post proposes a solution, it queries if the solution was correct and desirable, and got no response. I am using 1.9.3-p429 with MSVC 2008. Original source: http://www.ruby-forum.com/topic/194276 QUOTE: Posted by Chris Tenbrink (ctenbrink) on 2009-08-28 23:21 I'm trying to embed ruby 1.9.1 in my Windows application and running into some problems. I successfully embedded ruby 1.8.4 in the application, but I'd like to update to use 1.9.1. I'm currently linking to the .lib and .dll files that I built (using the Microsoft Visual Studio 2008 compiler) from the ruby 1.9.1 p243 source. I have similar problems when I link against the 1.9.1 p129 binaries distributed on the www.ruby-lang.org website. The root of the problem is that the ruby dll exports a number of standard library functions that it has redefined. For example, in include/ruby/win32.h from the source distribution, there are a number of statements like the following: #define fclose(f) rb_w32_fclose(f) I assume this was done so that when ruby calls fclose() on win32 systems, it would more closely match what happens on other systems when this function is called. Is this a good assumption? When I build ruby from source (using the instructions found in win32/README.win32), code in mkexports.rb causes these redefinitions to be added to the .def file so that they get exported from the dll. This causes the redefinitions to be viral - anything that links against the ruby .lib and uses the ruby .dll uses the redefined functions. I assume this was done with extension writers in mind so that extension code automatically uses the same redefined std library functions as ruby itself. However, for embedding ruby, I'm not sure this makes sense. I don't mind if ruby does something different with these functions in its own world, but I don't want the rest of my application to change simply because I'm now linking in ruby. I started looking closely at this issue because my application was crashing when the redefined fclose() was called. It turns out that the redefined function calls _get_osfhandle(), and that function doesn't like the passed in parameter. Thus, the invalid parameter handler gets called, which, by default, exits the program. One thing that made me suspicious was that fclose() was redefined for my platform, but fopen() wasn't. I got around this issue by commenting out the code in mkexports.rb that adds these redefinitions to the .def file. This means that the library functions are still redefined within the ruby dll, but NOT for applications that link to the .lib. After building ruby and linking it in with my application, all seems to work out ok. However, I'm reluctant to implement this as a final solution, because I'd prefer not to ship a non-standard ruby dll with my application. In summary, here are my questions: 1) Is it correct to assume that std library functions have been redefined for win32 ruby to maintain consistency within ruby across platforms? 2) Are these redefined std library functions exported from the .dll to ensure extensions use the same code as ruby itself? If so, doesn't this cause problems for applications that embed ruby? 3) If it's really necessary to redefine fclose(), why isn't fopen() redefined symmetrically. 4) Am I missing some configuration setting somewhere that will prevent these redefined functions from being exported from the dll? 5) Is my method of commenting out code to eliminate these exports sound? Thanks for your help. Chris Tenbrink END QUOTE -- http://bugs.ruby-lang.org/