diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-18 03:22:26 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-18 03:22:26 +0000 |
commit | d63a0bb8718560feff36b3b93727bd2eed5ee4ef (patch) | |
tree | 00ca37dab5d2d2bfce04bf9e26061f35bcf53b98 | |
parent | bbc9e07dc34512985a026669286ae4c289a35bf9 (diff) |
* 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/branches/ruby_1_8@9557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | win32/win32.h | 4 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Nov 18 12:18:02 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. + Wed Nov 16 23:24:17 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * common.mk (static-ruby): overridable. @@ -19,7 +24,7 @@ Tue Nov 15 16:23:26 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 + previous commit has the advantage of early garbage collection, but potensially this would break some script. so I reverted behavior. Tue Nov 15 16:04:10 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> diff --git a/win32/win32.h b/win32/win32.h index 190cf3a1f4..5a93f2d313 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -223,6 +223,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 + #ifdef __BORLANDC__ #undef S_ISDIR #undef S_ISFIFO |