mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* file.c (rb_file_s_expand_path): should terminate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b175c4be3c
commit
49c720ff67
2 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Feb 4 22:44:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||||
|
|
||||||
|
* file.c (rb_file_s_expand_path): should terminate.
|
||||||
|
|
||||||
Mon Feb 4 15:38:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Feb 4 15:38:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* object.c (rb_class_real): should not follow ICLASS link
|
* object.c (rb_class_real): should not follow ICLASS link
|
||||||
|
|
|
||||||
1
file.c
1
file.c
|
|
@ -1554,6 +1554,7 @@ rb_file_s_expand_path(argc, argv)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (tainted) OBJ_TAINT(result);
|
if (tainted) OBJ_TAINT(result);
|
||||||
|
*p = '\0';
|
||||||
RSTRING(result)->len = p - buf;
|
RSTRING(result)->len = p - buf;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue