FreeBSD db problems

2002-10-29 Thread Mike Wade
Any ideas why this db code chews the data while doing a DB walk with "seq" and replacing data with "put"? #include #include #include #include int main() { DB *db_p; DBT db_key, db_val; char buf[16]; int i, r, flags; db_p = dbopen("test.db", O_RDWR|O_CR

FreeBSD db problems

2002-10-29 Thread Mike Wade
Any ideas why this db code chews the data while doing a DB walk with "seq" and replacing data with "put"? #include #include #include #include int main() { DB *db_p; DBT db_key, db_val; char buf[16]; int i, r, flags; db_p = dbopen("test.db", O_RDWR|O_CR