diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3035,7 +3035,7 @@ rb_file_s_extname(klass, fname) p = last; break; } - if (*last == '.') e = dot; + if (*last == '.' || dot > last) e = dot; continue; #else e = p; /* get the last dot of the last component */ |