[#23132] [Bug #1357] Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers — Ollivier Robert <redmine@...>
Bug #1357: Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers
[#23154] [Bug #1363] Wrong value for Hash of NaN — Heesob Park <redmine@...>
Bug #1363: Wrong value for Hash of NaN
Hi,
Hi,
Yukihiro Matsumoto wrote:
[#23168] [Bug #1367] flatten(0) is not consistent with flatten(), flatten(1), etc. — Paul Lewis <redmine@...>
Bug #1367: flatten(0) is not consistent with flatten(), flatten(1), etc.
Issue #1367 has been updated by Paul Lewis.
[#23174] [Feature #1371] FTPS Implicit — Daniel Parker <redmine@...>
Feature #1371: FTPS Implicit
[#23193] Regexp Encoding — James Gray <james@...>
I'm trying to document the Encoding Regexp objects receive for the
[#23194] [Feature #1377] Please provide constant File::NOATIME — Johan Walles <redmine@...>
Feature #1377: Please provide constant File::NOATIME
[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>
Dear Ruby developers and users!
Wolfgang N叩dasi-Donner wrote:
Wolfgang N叩dasi-Donner wrote:
Michael Neumann schrieb:
[#23252] [Bug #1392] Object#extend leaks memory on Ruby 1.9.1 — Muhammad Ali <redmine@...>
Bug #1392: Object#extend leaks memory on Ruby 1.9.1
[#23267] StringIO: RubySpec violation — Hongli Lai <hongli@...99.net>
I ran RubySpec against the 1.8.6-p368 release. It seems that
[#23289] [Bug #1399] Segmentation fault is raised when you use a postgres gem — Marcel Keil <redmine@...>
Bug #1399: Segmentation fault is raised when you use a postgres gem
[#23297] Ruby Oniguruma question — Ralf Junker <ralfjunker@...>
I see that the Ruby source code contains modified and more recent version of the Oniguruma regular expression library.
[#23305] [Bug #1403] Process.daemon should do a double fork to avoid problems with controlling terminals — Gary Wright <redmine@...>
Bug #1403: Process.daemon should do a double fork to avoid problems with controlling terminals
Hi,
[#23311] [Bug #1404] Net::HTTP::Post failing when a post field contains ":" — Ignacio Martín <redmine@...>
Bug #1404: Net::HTTP::Post failing when a post field contains ":"
[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>
Feature #1408: 0.1.to_r not equal to (1/10)
Issue #1408 has been updated by tadayoshi funaba.
Hi,
Hi.
Issue #1408 has been updated by Marc-Andre Lafortune.
Issue #1408 has been updated by Roger Pack.
[#23321] [Bug #1412] 1.8.7-p160 extmk.rb fails when cross compiling — Luis Lavena <redmine@...>
Bug #1412: 1.8.7-p160 extmk.rb fails when cross compiling
[ruby-core:23255] Re: [Bug #1388] cygwin-1.7, gcc4-4.3, and ruby-1.9. make btest #236 test_io.rb Segmentation fault
Hi,
At Sat, 18 Apr 2009 04:56:10 +0900,
neomjp neomjp wrote in [ruby-core:23241]:
> * eval_intern.h [CYGWIN]: Remove #ifdef __CYGWIN__ for _setjmp() and _longjmp(). Cygwin-1.7
> has its own definition in /usr/include/machine/setjmp.h . This is the minimally required
> patch to make the compilation go through to the end.
> -#ifdef __CYGWIN__
> -int _setjmp(), _longjmp();
> -#endif
The definitions seem just with extern and arguments, and above
declaration doesn't seem conflict with them, what error does
occur?
> * ruby.c (push_include_cygwin): Use cygwin_conv_path instead of cygwin_conv_to_posix_path
> which is deprecated in cygwin-1.7.
> * ruby.c (ruby_init_loadpath_safe): Use cygwin_conv_path instead of cygwin_conv_to_posix_path
> which is deprecated in cygwin-1.7.
> - if (cygwin_conv_to_posix_path(p, rubylib) == 0)
> + if (cygwin_conv_path(CCP_WIN_W_TO_POSIX | CCP_RELATIVE, p, rubylib, 1)
> + == 0)
I suspect it should use CCP_WIN_A_TO_POSIX and sizeof(rubylib)
instead of 1, am I wrong?
> * strftime.c [CYGWIN]: Cygwin <time.h> defines _timezone, _daylight, *_tzname[2], and tzname
> with dllimport attribute. But <cygwin/time.h> defines daylight and timezone without
> dllimport attribute.
OK.
> make: *** No rule to make target `thread_.h', needed by `miniprelude.o'. Stop.
> *** ERROR: make failed
>
> This is because THREAD_MODEL is empty in Makefile. Looking into configure.in, I can see that when
>
> if test "$rb_with_pthread" = "yes";
>
> is false and
>
> case "$target_os" in
> when(cygwin*)
>
> then THREAD_MODEL gets undefined. (when(mingw*) is true, THREAD_MODEL=win32.) If I compile like
>
> CC=gcc-4 configure --program-suffix="-19" --disable-pthread
> make THREAD_MODEL=w32
Previously, it couldn't work with THREAD_MODEL=win32, maybe
something improved with cygwin 1.7?
> But include/ruby/ruby.h has
>
> #define HAVE_NATIVETHREAD
>
> without any #ifdefs. So the pthread mode check in
> ext/tk/extconf.rb always evaluates to be true even when
> pthread support is disabled. This should be corrected. If
> these issues are corrected, then ruby-1.9 trunk can get
> compiled without warnings.
OK, I'll fix it.
> When I tried make run or make runruby, it failed.
make run is supporsed to run your own script, so test.rb is a
file which you should make. test-sample is what you want.
> But the result of make btest is bad.
>
> #236 test_io.rb:
> at_exit { p :foo }
> | c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :p
> | c:0003 p:0011 s:0006 b:0006 l:000aec d:000005 BLOCK bootstraptest.tmp.rb:2
Segfaults in the at_exit block. I'll investigate it.
--
Nobu Nakada