From: Daniel Berger Date: 2005-08-20T05:07:46+09:00 Subject: Re: Refactoring of File.basename Daniel Berger wrote: > Hi all, A couple minor corrections... > /* base.c */ ... > if(!strcmp(ext, ".*")){ Change that to: if(!strcmp(ext, ".*") && strchr(base, '.')){ > # test.rb - borrowed asserts from Rubicon project Oops, replace "File" with "Base" for all assertions. Regards, Dan