X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Flookgrep.c;h=b56df318595d58207c2d3fdc33d5e869d5de6457;hb=66ec9aa407cf95f205d860d071960011f91be366;hp=2cb826f690e1355e2ddc86ec7376a1e0a2432c72;hpb=861a4414a4a0d1d1076f97fe8105b0a3a3ab4a31;p=idzebra-moved-to-github.git diff --git a/dict/lookgrep.c b/dict/lookgrep.c index 2cb826f..b56df31 100644 --- a/dict/lookgrep.c +++ b/dict/lookgrep.c @@ -1,8 +1,5 @@ -/* $Id: lookgrep.c,v 1.33 2006-08-29 13:36:26 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2009 Index Data 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 @@ -390,6 +387,8 @@ int dict_lookup_grep(Dict dict, const char *pattern, int range, void *client, dfa_verbose = 1; #endif + dfa_anyset_includes_nl(dfa); + yaz_log(YLOG_DEBUG, "dict_lookup_grep range=%d", range); for (i = 0; pattern[i]; i++) { @@ -449,6 +448,7 @@ void dict_grep_cmap (Dict dict, void *vp, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab