summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 11:55:05 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 11:55:05 +0000
commitafb0581aa8710ab9af6bfe1c2dbf41820913560d (patch)
tree62ea775cb9327c521881ed9152ee9fb03e558914
parentb9cd44cfc1dc9d2c62fa05a1ffef5baab03cc25c (diff)
* ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/mkconstants.rb3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 01d7960a413..12d8f3ad1b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 1 20:54:02 2009 Tanaka Akira <akr@fsij.org>
+
+ * ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.
+
Thu Jan 1 20:50:09 2009 URABE Shyouhei <shyouhei@ruby-lang.org>
* process.c (before_exec): it makes no sense for a conditional
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 3b3492b5c26..ddfbf7d6492 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -94,7 +94,8 @@ ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_name_to_int(str_var, len_var,
EOS
MAYBE_ALIAS = [
- ["AF_UNIX", "AF_LOCAL"]
+ ["AF_UNIX", "AF_LOCAL"],
+ ["AF_ISO", "AF_OSI"]
]
def each_alias(pat)