diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-27 14:14:14 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-27 14:14:14 +0000 |
commit | 0cb17010c437232e03d8a35cda69dccddba4f4f8 (patch) | |
tree | 672afb2da91f742c112e2b4084f82c767c36be61 /ext/pathname/lib/pathname.rb | |
parent | 53b6ab6a047864c32f12a4d4497144c32e25b705 (diff) | |
download | ruby-0cb17010c437232e03d8a35cda69dccddba4f4f8.tar.gz |
* ext/pathname/pathname.c (path_taint): use rb_obj_taint.
(path_untaint): Pathname#untaint translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 3fe6c0fc18..139b8e3662 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -208,8 +208,6 @@ class Pathname # :startdoc: - def untaint() super; @path.untaint; self end - # # Compare this pathname with +other+. The comparison is string-based. # Be aware that two different paths (<tt>foo.txt</tt> and <tt>./foo.txt</tt>) |