* ext.c (regex_check_type): Handle case when there are no tabs

or spaces after the colon.
This commit is contained in:
Pavel Roskin 2003-07-08 22:24:46 +00:00
parent 452de6619d
commit 40d911f728
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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] == ' '