* ext.c (regex_check_type): Handle case when there are no tabs
or spaces after the colon.
Этот коммит содержится в:
родитель
452de6619d
Коммит
40d911f728
@ -1,3 +1,8 @@
|
||||
2003-07-08 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* ext.c (regex_check_type): Handle case when there are no tabs
|
||||
or spaces after the colon.
|
||||
|
||||
2003-07-02 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* ext.c (regex_check_type): Set content_shift to skip the
|
||||
|
@ -421,7 +421,6 @@ regex_check_type (char *filename, int file_len, char *ptr, int *have_type)
|
||||
/* Skip "filename: " */
|
||||
content_shift = file_len;
|
||||
if (content_string[content_shift] == ':') {
|
||||
content_shift++;
|
||||
/* Solaris' file prints tab(s) after ':' */
|
||||
for (content_shift++;
|
||||
content_string[content_shift] == ' '
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user