[#444] io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...>

I am encountering a problem similar to the one mentioned here,

19 messages 2002/09/06
[#453] Re: io_write()/fwrite() and EINTR on Solaris — nobu.nokada@... 2002/09/08

Hi,

[#454] Re: io_write()/fwrite() and EINTR on Solaris — matz@... (Yukihiro Matsumoto) 2002/09/09

Hi

[#469] Re: io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...> 2002/09/09

On Mon, Sep 09, 2002 at 03:55:13PM +0900, Yukihiro Matsumoto wrote:

[#479] Re: io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...> 2002/09/10

On Tue, Sep 10, 2002 at 01:04:10AM +0900, Jos Backus wrote:

[#492] Re: io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...> 2002/09/21

On Wed, Sep 11, 2002 at 02:23:33AM +0900, Jos Backus wrote:

Re: [Fix, NO alloca] Parse.y

From: Michal Rokos <m.rokos@...>
Date: 2002-09-17 15:27:32 UTC
List: ruby-core #491
Hello,

On Tue, Sep 17, 2002 at 01:29:01AM +0900, Yukihiro Matsumoto wrote:
> In message "Re: [Fix, NO alloca] Parse.y"
>     on 02/09/13, Michal Rokos <m.rokos@sh.cvut.cz> writes:
> 
> |	I'm just wondering if somebody looked at the patch I sent. (I
> |	don't think the ALLOCA->ALLOC part, but the pard in 2nd chunk
> |	about (id =)...
> 
> |>  	    strcpy(buf, name);
> |>  	    strcat(buf, "=");
> |> -	    rb_intern(buf);
> |> +	    id = rb_intern(buf);
> |^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (here it is)
> |> +	    free(buf);
> |>  	    return rb_id2name(id);
> 
> Surprisingly, there's no differnce.  rb_intern() registers "="
> appended name, whose assigned id should be equal to id, so that
> rb_id2name(id) always return "=" appended name.

	Thanks for hint. Now it's clear.

		Michal
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
e-mail: m.rokos@sh.cvut.cz    icq: 36118339     jabber: majkl@jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

In This Thread

Prev Next