summaryrefslogtreecommitdiff
path: root/ext/pty/pty.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-22 23:09:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-22 23:09:16 +0000
commit3eafc1660f290da3939c8f4647907275ade8d0ac (patch)
tree4bc1f03cc15efb17aca312d87bf7696e1d4f1fb1 /ext/pty/pty.c
parentf7fc42a7af1c88dae8b2ab44eaeb7042fb8d3b11 (diff)
* process.c: use the name "eargp" for struct rb_execarg variables
consistently except for saving process attributes. * io.c: ditto. * ext/pty/pty.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r--ext/pty/pty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 424a9a2..e20c02b 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -79,7 +79,7 @@ struct child_info {
int master, slave;
char *slavename;
VALUE execarg_obj;
- struct rb_execarg *earg;
+ struct rb_execarg *eargp;
};
static int
@@ -143,7 +143,7 @@ chfunc(void *data, char *errbuf, size_t errbuf_len)
seteuid(getuid());
#endif
- return rb_exec_async_signal_safe(carg->earg, errbuf, sizeof(errbuf_len));
+ return rb_exec_async_signal_safe(carg->eargp, errbuf, sizeof(errbuf_len));
#undef ERROR_EXIT
}
@@ -178,7 +178,7 @@ establishShell(int argc, VALUE *argv, struct pty_info *info,
}
carg.execarg_obj = rb_execarg_new(argc, argv, 1);
- carg.earg = rb_execarg_get(carg.execarg_obj);
+ carg.eargp = rb_execarg_get(carg.execarg_obj);
rb_execarg_fixup(carg.execarg_obj);
getDevice(&master, &slave, SlaveName, 0);