]> granicus.if.org Git - php/commitdiff
rolling back fix for 23463. The "fix" broke more than it fixed (see bug 25558)
authorVlad Krupin <vlad@php.net>
Sun, 12 Oct 2003 01:07:59 +0000 (01:07 +0000)
committerVlad Krupin <vlad@php.net>
Sun, 12 Oct 2003 01:07:59 +0000 (01:07 +0000)
ext/dbase/dbf_head.c

index 7a5d071a17e33add7721a5d288c85caa048ebf78..9ec1f40d6cbda155955cf1c518418c1c8ea0b24a 100644 (file)
@@ -33,10 +33,6 @@ dbhead_t *get_dbf_head(int fd)
 
        /* build in core info */
        dbh->db_fd = fd;
-       if (dbhead.dbh_dbt < 3) {
-               php_error(E_WARNING, "This file appears to be dbase ver. %d. Only version 3 and above is supported.", dbhead.dbh_dbt);
-               return NULL;
-       }
        dbh->db_dbt = dbhead.dbh_dbt;
        dbh->db_records = get_long(dbhead.dbh_records);
        dbh->db_hlen = get_short(dbhead.dbh_hlen);