aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/extconf.rb4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ff14fb641..19f950e31a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 7 10:02:30 2003 Tanaka Akira <akr@m17n.org>
+
+ * ext/socket/extconf.rb: useless assignment removed.
+
Tue Oct 7 09:13:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/ruby/test_beginendblock.rb (test_endinmethod): END{} is now
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 5cdc949d8f..0fcb392690 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -195,8 +195,8 @@ have_header("netinet/tcp.h") if not /cygwin/ =~ RUBY_PLATFORM # for cygwin 1.1.5
have_header("netinet/udp.h")
if have_func("sendmsg") | have_func("recvmsg")
- have_struct_member('struct msghdr', 'msg_control', header=['sys/types.h', 'sys/socket.h'])
- have_struct_member('struct msghdr', 'msg_accrights', header=['sys/types.h', 'sys/socket.h'])
+ have_struct_member('struct msghdr', 'msg_control', ['sys/types.h', 'sys/socket.h'])
+ have_struct_member('struct msghdr', 'msg_accrights', ['sys/types.h', 'sys/socket.h'])
end
$getaddr_info_ok = false