X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fcompact.c;h=08c880c7ba26f67dfb5e06b32c9d680141b6a4fe;hp=eab0edc2c461fcdecc3d6e7d147651778718cf62;hb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;hpb=254c4ba29c56564d33fae651343e83fb5c35a36f diff --git a/index/compact.c b/index/compact.c index eab0edc..08c880c 100644 --- a/index/compact.c +++ b/index/compact.c @@ -1,13 +1,26 @@ -/* - * Copyright (C) 1994-1999, Index Data - * All rights reserved. - * Sebastian Hammer, Adam Dickmeiss - * - * $Log: compact.c,v $ - * Revision 1.1 1999-03-09 10:16:35 adam - * Work on compaction of dictionary/isamc. - * - */ +/* $Id: compact.c,v 1.5 2006-05-10 08:13:20 adam Exp $ + Copyright (C) 1995-2005 + 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 @@ -17,5 +30,13 @@ void inv_compact (BFiles bfs) { - dict_compact (bfs, FNAME_DICT, "out"); + dict_copy_compact (bfs, FNAME_DICT, "out"); } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +