diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-20 18:02:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-20 18:02:17 +0000 |
commit | 09f210ffb6af1ea3b0a2bd52497978cd7f2354f8 (patch) | |
tree | 1ef49f987a8f65bdb2c1396bf681c4f4e2ca8b6c /ext/pty | |
parent | 4ce8cc8d93e1d2ff1632f8a703a04539c1ec17bf (diff) | |
download | ruby-09f210ffb6af1ea3b0a2bd52497978cd7f2354f8.tar.gz ruby-09f210ffb6af1ea3b0a2bd52497978cd7f2354f8.tar.xz ruby-09f210ffb6af1ea3b0a2bd52497978cd7f2354f8.zip |
* eval.c, file.c, etc.: code-cleanup patch from Stefan Huehner
<stefan at huehner.org>. [ruby-core:08029]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty')
-rw-r--r-- | ext/pty/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index ef357ace5..5f73d286f 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -196,7 +196,7 @@ establishShell(int argc, VALUE *argv, struct pty_info *info) int status; if (argc == 0) { - char *shellname; + const char *shellname; if ((p = getenv("SHELL")) != NULL) { shellname = p; |