From edb98f8b910b00be16868b21116924cffad785b9 Mon Sep 17 00:00:00 2001 From: ktsj Date: Sun, 19 May 2013 03:10:21 +0000 Subject: fix typos. Patch by k_takata. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 2628cb5e5f..7d3431477e 100644 --- a/file.c +++ b/file.c @@ -3722,7 +3722,7 @@ ruby_enc_find_basename(const char *name, long *baselen, long *alllen, rb_encodin * * Returns the last component of the filename given in file_name, * which can be formed using both File::SEPARATOR and - * File::ALT_SEPARETOR as the separator when + * File::ALT_SEPARATOR as the separator when * File::ALT_SEPARATOR is not nil. If * suffix is given and present at the end of file_name, * it is removed. @@ -3779,7 +3779,7 @@ rb_file_s_basename(int argc, VALUE *argv) * * Returns all components of the filename given in file_name * except the last one. The filename can be formed using both - * File::SEPARATOR and File::ALT_SEPARETOR as the + * File::SEPARATOR and File::ALT_SEPARATOR as the * separator when File::ALT_SEPARATOR is not nil. * * File.dirname("/home/gumby/work/ruby.rb") #=> "/home/gumby/work" -- cgit v1.2.3