summaryrefslogtreecommitdiffstats
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
commit8f60b4af2a09206d0c28ff8dab6474b3e360f515 (patch)
tree629fd0a7ef1d91e92e52234e356958f6feb22e8f
parent861b53017f8a46f1941d04d919781ced0d6459ec (diff)
downloadruby-8f60b4af2a09206d0c28ff8dab6474b3e360f515.tar.gz
ruby-8f60b4af2a09206d0c28ff8dab6474b3e360f515.tar.xz
ruby-8f60b4af2a09206d0c28ff8dab6474b3e360f515.zip
* win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
returns true on VisualC++6. git-svn-id: http://svn.ruby-lang.org/repos/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 3c19dd69a..098c4be76 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 228e7d282..f3efa1794 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