--- vfs/vfs.c.orig 2004-06-29 16:51:40 +0400 +++ vfs/vfs.c 2004-06-29 17:08:18 +0400 @@ -1605,19 +1605,16 @@ /* Here we expect to find time and/or year */ if (is_num (idx)) { - if (is_time (columns[idx], &tim) - || (got_year = is_year (columns[idx], &tim))) { + if (is_time(columns[idx], &tim)) { idx++; + } else if (is_year(columns[idx], &tim)) { + idx++; + got_year = 1; /* This is a special case for ctime() or Mon DD YYYY hh:mm */ if (is_num (idx) && (columns[idx + 1][0])) { - if (got_year) { - if (is_time (columns[idx], &tim)) - idx++; /* time also */ - } else { - if ((got_year = is_year (columns[idx], &tim))) - idx++; /* year also */ - } + if (is_time (columns[idx], &tim)) + idx++; /* time also */ } } /* only time or date */ } else