[前][次][番号順一覧][スレッド一覧]

ruby-changes:28099

From: akr <ko1@a...>
Date: Sat, 6 Apr 2013 12:41:10 +0900 (JST)
Subject: [ruby-changes:28099] akr:r40151 (trunk): * ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.

akr	2013-04-06 12:41:01 +0900 (Sat, 06 Apr 2013)

  New Revision: 40151

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40151

  Log:
    * ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.
      (rsock_sys_fail_path): Ditto.
      (rsock_sys_fail_sockaddr): Ditto.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/rubysocket.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40150)
+++ ChangeLog	(revision 40151)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Apr  6 12:40:16 2013  Tanaka Akira  <akr@f...>
+
+	* ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.
+	  (rsock_sys_fail_path): Ditto.
+	  (rsock_sys_fail_sockaddr): Ditto.
+
 Sat Apr  6 11:49:35 2013  Tanaka Akira  <akr@f...>
 
 	* ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
Index: ext/socket/rubysocket.h
===================================================================
--- ext/socket/rubysocket.h	(revision 40150)
+++ ext/socket/rubysocket.h	(revision 40151)
@@ -333,8 +333,8 @@ void rsock_init_addrinfo(void); https://github.com/ruby/ruby/blob/trunk/ext/socket/rubysocket.h#L333
 void rsock_init_sockopt(void);
 void rsock_init_socket_init(void);
 
-void rsock_sys_fail_host_port(const char *, VALUE, VALUE);
-void rsock_sys_fail_path(const char *, VALUE);
-void rsock_sys_fail_sockaddr(const char *, VALUE, VALUE);
+NORETURN(void rsock_sys_fail_host_port(const char *, VALUE, VALUE));
+NORETURN(void rsock_sys_fail_path(const char *, VALUE));
+NORETURN(void rsock_sys_fail_sockaddr(const char *, VALUE, VALUE));
 
 #endif

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]