X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fgwdbtest.c;h=505182db3ad08077aa85bd4e41e81307dc0824a4;hb=373495ef158d123d95ab44465d4249e65847492b;hp=baf680cfa1b4fe26cdae6749e22baa38827f3d4c;hpb=e1ec9d39463f431383547891f38e30f2ff17842c;p=egate.git diff --git a/util/gwdbtest.c b/util/gwdbtest.c index baf680c..505182d 100644 --- a/util/gwdbtest.c +++ b/util/gwdbtest.c @@ -45,7 +45,12 @@ * Europagate, 1995 * * $Log: gwdbtest.c,v $ - * Revision 1.2 1995/05/16 09:40:53 adam + * Revision 1.3 1995/12/20 16:28:08 adam + * Extra parameter block to gw_db_open. If block is 0 gw_db_open + * returns NULL if lock couldn't be satisfied. + * Minor changes in iso2709.c. + * + * Revision 1.2 1995/05/16 09:40:53 adam * LICENSE. * * Revision 1.1 1995/03/27 08:25:02 adam @@ -71,7 +76,7 @@ int main (int argc, char **argv) int r; int no_insert = 0; - gwdb = gw_db_open ("db.test", 1); + gwdb = gw_db_open ("db.test", 1, 1); for (no = 0; scanf ("%s", word) == 1; no++) { r = gw_db_lookup (gwdb, word, strlen(word), & buf, &count);