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 stdio.h #include stdlib.h #include fcntl.h #include db.h int main() { DB *db_p; DBT db_key, db_val; char buf[16]; int i, r, flags; db_p =

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 stdio.h #include stdlib.h #include fcntl.h #include db.h int main() { DB *db_p; DBT db_key, db_val; char buf[16]; int i, r, flags; db_p =