зеркало из https://github.com/github/ruby.git
* ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.
(rsock_sys_fail_path): Ditto. (rsock_sys_fail_sockaddr): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
11a9d77286
Коммит
24ee6971cc
|
@ -1,3 +1,9 @@
|
||||||
|
Sat Apr 6 12:40:16 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* 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@fsij.org>
|
Sat Apr 6 11:49:35 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
|
* ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
|
||||||
|
|
|
@ -333,8 +333,8 @@ void rsock_init_addrinfo(void);
|
||||||
void rsock_init_sockopt(void);
|
void rsock_init_sockopt(void);
|
||||||
void rsock_init_socket_init(void);
|
void rsock_init_socket_init(void);
|
||||||
|
|
||||||
void rsock_sys_fail_host_port(const char *, VALUE, VALUE);
|
NORETURN(void rsock_sys_fail_host_port(const char *, VALUE, VALUE));
|
||||||
void rsock_sys_fail_path(const char *, VALUE);
|
NORETURN(void rsock_sys_fail_path(const char *, VALUE));
|
||||||
void rsock_sys_fail_sockaddr(const char *, VALUE, VALUE);
|
NORETURN(void rsock_sys_fail_sockaddr(const char *, VALUE, VALUE));
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче