X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isam%2Fissh.c;h=7d77fcec0906f065e29eb8a88e6e71f88711cc7d;hb=138b954cffe470bf0e62d812cae6e859aa57cdb5;hp=0b5fb8b0283ab216b109db897b4875910fb86b2b;hpb=c6c40893444f2288cdea91d30dd92df0f285e67d;p=idzebra-moved-to-github.git diff --git a/isam/issh.c b/isam/issh.c index 0b5fb8b..7d77fce 100644 --- a/isam/issh.c +++ b/isam/issh.c @@ -1,9 +1,32 @@ +/* $Id: issh.c,v 1.6 2002-08-02 19:26:56 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 + Index Data Aps + +This file is part of the Zebra server. + +Zebra is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Zebra is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Zebra; see the file LICENSE.zebra. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. +*/ + + + #include #include -#include +#include #include -#include #include static ISAM is = 0; @@ -140,8 +163,8 @@ int main() log_init(LOG_ALL, "issh", 0); - assert(common_resource = res_open("testres")); - + common_resource = res_open("testres"); + assert(common_resource); for (;;) {