ruby-changes:38114
From: akr <ko1@a...>
Date: Thu, 9 Apr 2015 22:20:04 +0900 (JST)
Subject: [ruby-changes:38114] akr:r50195 (trunk): * process.c (redirect_open): Removed.
akr 2015-04-09 22:19:47 +0900 (Thu, 09 Apr 2015) New Revision: 50195 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50195 Log: * process.c (redirect_open): Removed. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50194) +++ ChangeLog (revision 50195) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Apr 9 22:19:19 2015 Tanaka Akira <akr@f...> + + * process.c (redirect_open): Removed. + Thu Apr 9 21:38:20 2015 Tanaka Akira <akr@f...> * internal.h (rb_execarg_parent_end): Declared. Index: process.c =================================================================== --- process.c (revision 50194) +++ process.c (revision 50195) @@ -2505,20 +2505,10 @@ redirect_close(int fd) https://github.com/ruby/ruby/blob/trunk/process.c#L2505 return ret; } -static int -redirect_open(const char *pathname, int flags, mode_t perm) -{ - int ret; - ret = open(pathname, flags, perm); - ttyprintf("open(\"%s\", 0x%x, 0%o) => %d\n", pathname, flags, perm, ret); - return ret; -} - #else #define redirect_dup(oldfd) dup(oldfd) #define redirect_dup2(oldfd, newfd) dup2((oldfd), (newfd)) #define redirect_close(fd) close(fd) -#define redirect_open(pathname, flags, perm) open((pathname), (flags), (perm)) #endif static int -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/