1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ocean 2005-11-18 03:22:26 +00:00
parent bbc9e07dc3
commit d63a0bb871
2 changed files with 10 additions and 1 deletions

View file

@ -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>

View file

@ -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