1
1

* ext.c (regex_check_type): Set content_shift to skip the

filename.
Этот коммит содержится в:
Pavel Roskin 2003-07-02 16:42:36 +00:00
родитель 43bbd6d299
Коммит 452de6619d
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2003-07-02 Pavel Roskin <proski@gnu.org>
* ext.c (regex_check_type): Set content_shift to skip the
filename.
2003-06-27 David Sterba <dave@jikos.cz>
* hotlist.c: Add buttons "Refresh" and "Free VFSs now" to Active

Просмотреть файл

@ -419,6 +419,7 @@ regex_check_type (char *filename, int file_len, char *ptr, int *have_type)
if (islocal) {
if (!strncmp (content_string, filename, file_len)) {
/* Skip "filename: " */
content_shift = file_len;
if (content_string[content_shift] == ':') {
content_shift++;
/* Solaris' file prints tab(s) after ':' */