X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fcompact.c;h=19c1bcf72753221ede337e0bbd8e134ae92b43ec;hb=527dab66d9847bb7f8a931c558306a070064bf25;hp=eab0edc2c461fcdecc3d6e7d147651778718cf62;hpb=254c4ba29c56564d33fae651343e83fb5c35a36f;p=idzebra-moved-to-github.git diff --git a/index/compact.c b/index/compact.c index eab0edc..19c1bcf 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.7 2007-01-15 15:10:16 adam Exp $ + Copyright (C) 1995-2007 + 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 this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 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 + */ +