"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "engine.cc" between
dbtool-1.9.tar.gz and dbtool-1.9.1.tar.gz

About: dbtool stores and retrieves data in a key/value format in a hash database.

engine.cc  (dbtool-1.9):engine.cc  (dbtool-1.9.1)
skipping to change at line 250 skipping to change at line 250
dbcp->close(); dbcp->close();
db->close(0); db->close(0);
#else #else
gdbm_close(db); gdbm_close(db);
#endif #endif
} }
/* /*
* Insert data into the db * Insert data into the db
*/ */
void Engine::from_stdin() { void Engine::from_input() {
init(); init();
#ifdef HAVE_BERKELEY #ifdef HAVE_BERKELEY
int err; int err;
#else #else
int ret; int ret;
#endif #endif
FILE *stream; FILE *stream;
stream = fdopen(0, "r"); stream = fdopen(0, "r");
char c; char c;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS