* process.c (run_exec_dup2): !save is false if Qnil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5d65e0982d
commit
3406ddcb33
@ -1,3 +1,7 @@
|
|||||||
|
Fri Dec 5 18:55:25 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* process.c (run_exec_dup2): !save is false if Qnil.
|
||||||
|
|
||||||
Fri Dec 5 18:07:32 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
Fri Dec 5 18:07:32 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): check
|
* win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): check
|
||||||
|
@ -1910,7 +1910,7 @@ run_exec_dup2(VALUE ary, VALUE save)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* sort the table by oldfd: O(n log n) */
|
/* sort the table by oldfd: O(n log n) */
|
||||||
if (!save)
|
if (!RTEST(save))
|
||||||
qsort(pairs, n, sizeof(struct fd_pair), intcmp);
|
qsort(pairs, n, sizeof(struct fd_pair), intcmp);
|
||||||
else
|
else
|
||||||
qsort(pairs, n, sizeof(struct fd_pair), intrcmp);
|
qsort(pairs, n, sizeof(struct fd_pair), intrcmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user