hsbt_away changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
idkazuma has joined #ruby-core
nurse has joined #ruby-core
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-core
nurse has quit [Ping timeout: 264 seconds]
idkazuma has quit [Remote host closed the connection]
nurse has joined #ruby-core
nurse has quit [Client Quit]
nurse has joined #ruby-core
agarie has joined #ruby-core
shiba1 has joined #ruby-core
shiba1 has quit [Quit: Leaving.]
charliesome has joined #ruby-core
agarie has quit [Ping timeout: 276 seconds]
nari has joined #ruby-core
agarie has joined #ruby-core
shiba___ has joined #ruby-core
agarie_ has joined #ruby-core
agarie_ has quit [Client Quit]
agarie has quit [Ping timeout: 276 seconds]
idkazuma has joined #ruby-core
nari has quit [Ping timeout: 240 seconds]
idkazuma has quit [Remote host closed the connection]
nari has joined #ruby-core
shiba___ has quit [Ping timeout: 258 seconds]
nari has quit [Ping timeout: 258 seconds]
shiba___ has joined #ruby-core
idkazuma has joined #ruby-core
shiba___ has quit [Ping timeout: 252 seconds]
<znz_jp>
biff: [ruby-changes:28349] hsbt:r40401 (trunk): Replace use of obsolete variable `last-command-char` by @maser [fix GH-290] - http://mla.n-z.jp/?ruby-changes=28349
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-core
judofyr has quit [Remote host closed the connection]
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-core
<znz_jp>
biff: [ruby-changes:28350] charliesome:r40402 (trunk): * configure.in: Use sigsetjmp by default so jumping out of signal - http://mla.n-z.jp/?ruby-changes=28350
idkazuma has quit [Remote host closed the connection]
<_ko1>
are there any way to restore signal status before longjmp?
<_ko1>
(maybe nothing)
<charliesome>
_ko1: it's very platform specific
<_ko1>
yes.
<_ko1>
it should be separate APIs.
<charliesome>
_ko1: i think libsigsegv solves this well, but it needs further investigation
<_ko1>
save_signal_status(&status); setjmp(jump) and siglongjmp(&status, jump)
<_ko1>
ah, cool
<charliesome>
_ko1: are you siglongjmp-ing to some code which performs a regular longjmp?
<charliesome>
that could work
<_ko1>
sorry i'm not sure what you want to say.
<charliesome>
sigsetjmp and siglongjmp are only necessary to clear the SS_ONSTACK flag of the alt stack, so we could siglongjmp to a special piece of code that just raises a system stack error
<_ko1>
but i'm not sure it can do (because jump to deeper place (longjmp(bar))
<charliesome>
sigsetjmp would need to be on a separate stack
<_ko1>
yes.
<charliesome>
_ko1: do you think this is too complex?
<_ko1>
not too complex, but i'm not sure it works fine
<_ko1>
at least, i agree that current SEGV -> stack overflow flow has a bug if we use setjmp/longjmp.
<znz_jp>
biff: [ruby-changes:28351] charliesome:r40403 (trunk): * configure.in: Revert using sigsetjmp by default due to performance - http://mla.n-z.jp/?ruby-changes=28351
<_ko1>
on your Linux (3.8?), no system calls used by sigsetjmp?
<charliesome>
_ko1: no
<_ko1>
ah...
<_ko1>
and i'm not sure we can use libsigsegv because of license