From: nobu.nokada@... Date: 2005-05-14T10:52:25+09:00 Subject: Re: Question about File.fnmatch Hi, At Sat, 14 May 2005 03:34:42 +0900, Daniel Berger wrote in [ruby-core:04970]: > Maybe this is a silly question, but why is File.fnmatch defined in dir.c > instead of file.c? > > I see it sprinkled throughout dir.c, so I'm guessing is was to a way to > avoid lots of calls to rb_funcall, but I thought I'd ask. It is derived from Dir.glob and still shares the internal function fnmatch(). -- Nobu Nakada