ruby-changes:27395
From: nobu <ko1@a...>
Date: Sun, 24 Feb 2013 10:16:56 +0900 (JST)
Subject: [ruby-changes:27395] nobu:r39447 (trunk): signal.c: fix type
nobu 2013-02-24 10:16:46 +0900 (Sun, 24 Feb 2013) New Revision: 39447 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39447 Log: signal.c: fix type * signal.c (sigsegv): type of write(2) is ssize_t. Modified files: trunk/signal.c Index: signal.c =================================================================== --- signal.c (revision 39446) +++ signal.c (revision 39447) @@ -658,7 +658,7 @@ static RETSIGTYPE https://github.com/ruby/ruby/blob/trunk/signal.c#L658 sigsegv(int sig SIGINFO_ARG) { if (segv_received) { - int RB_UNUSED_VAR(err); + ssize_t RB_UNUSED_VAR(err); char msg[] = "SEGV received in SEGV handler\n"; err = write(2, msg, sizeof(msg)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/