diff options
author | Andrew Tridgell <tridge@samba.org> | 1999-12-24 08:45:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1999-12-24 08:45:02 +0000 |
commit | d6a5878c760fcb189faf9ed5aafd2bf294fc38e9 (patch) | |
tree | 9d416ac437a4b162a7f3dd606024d64adf29156f /source3/tdb/tdbtool.c | |
parent | f0161cf815c4c571fb703f1d4d50616f61892d69 (diff) | |
download | samba-d6a5878c760fcb189faf9ed5aafd2bf294fc38e9.tar.gz samba-d6a5878c760fcb189faf9ed5aafd2bf294fc38e9.tar.bz2 samba-d6a5878c760fcb189faf9ed5aafd2bf294fc38e9.zip |
fixed more locking bugs - all seems OK now
(This used to be commit 584537961b6134a50089d37328a21c617bc6547b)
Diffstat (limited to 'source3/tdb/tdbtool.c')
-rw-r--r-- | source3/tdb/tdbtool.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/tdb/tdbtool.c b/source3/tdb/tdbtool.c index 766ce0ff47..5eb410d418 100644 --- a/source3/tdb/tdbtool.c +++ b/source3/tdb/tdbtool.c @@ -7,8 +7,6 @@ #include <sys/mman.h> #include <sys/stat.h> #include <sys/time.h> -#include <readline/readline.h> -#include <readline/history.h> #include "tdb.h" /* a tdb tool for manipulating a tdb database */ @@ -163,7 +161,7 @@ int main(int argc, char *argv[]) { char *line; char *tok; - + while ((line=readline("tdb> "))) { tok = strtok(line," "); if (strcmp(tok,"create") == 0) { |