* io.c (pipe_open): variable name "fpw" is conflicted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e84d895ad4
commit
2870c4d1a6
@ -1,3 +1,7 @@
|
|||||||
|
Thu Oct 21 13:11:31 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* io.c (pipe_open): variable name "fpw" is conflicted.
|
||||||
|
|
||||||
Thu Oct 21 00:36:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu Oct 21 00:36:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (lex_getline): should not touch ruby_debug_lines if
|
* parse.y (lex_getline): should not touch ruby_debug_lines if
|
||||||
|
6
io.c
6
io.c
@ -2876,9 +2876,9 @@ pipe_open(argc, argv, pname, mode)
|
|||||||
fptr->f = PIPE_FDOPEN(0);
|
fptr->f = PIPE_FDOPEN(0);
|
||||||
}
|
}
|
||||||
if (modef & FMODE_WRITABLE) {
|
if (modef & FMODE_WRITABLE) {
|
||||||
FILE *fpw = PIPE_FDOPEN(1);
|
FILE *fpwt = PIPE_FDOPEN(1);
|
||||||
if (fptr->f) fptr->f2 = fpw;
|
if (fptr->f) fptr->f2 = fpwt;
|
||||||
else fptr->f = fpw;
|
else fptr->f = fpwt;
|
||||||
}
|
}
|
||||||
#if defined (__CYGWIN__) || !defined(HAVE_FORK)
|
#if defined (__CYGWIN__) || !defined(HAVE_FORK)
|
||||||
fptr->finalize = pipe_finalize;
|
fptr->finalize = pipe_finalize;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user