aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-18 03:22:26 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-18 03:22:26 +0000
commit4c307921032a144a9339b40911230b7fbe33538a (patch)
tree629fd0a7ef1d91e92e52234e356958f6feb22e8f
parent02c5d7e79a79b6fc09c31c90931c599b817eadba (diff)
downloadruby-4c307921032a144a9339b40911230b7fbe33538a.tar.gz
* win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
returns true on VisualC++6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog9
-rw-r--r--win32/win32.h4
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c19dd69af..098c4be764 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 18 12:19:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
+
+ * win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
+ returns true on VisualC++6.
+
Thu Nov 17 17:58:00 2005 Kouhei Sutou <kou@cozmixng.org>
* lib/rss/1.0.rb: added convenience method 'resources'.
@@ -57,8 +62,8 @@ Tue Nov 15 16:36:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
a = [0,1,2,3,4,5,6,7,8,9]
a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil]
- previous commit has advantange for early garbage collection, but
- potensially would break some script. so I reverted behavior.
+ previous commit has the advantage of early garbage collection, but
+ potensially this would break some script. so I reverted behavior.
Tue Nov 15 16:15:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
diff --git a/win32/win32.h b/win32/win32.h
index 228e7d282c..f3efa17940 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -227,6 +227,10 @@ extern FILE *rb_w32_fsopen(const char *, const char *, int);
#endif
#endif
+#if !defined S_IFIFO && defined _S_IFIFO
+#define S_IFIFO _S_IFIFO
+#endif
+
#if 0 && defined __BORLANDC__
#undef S_ISDIR
#undef S_ISFIFO