X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Flookgrep.c;h=b56df318595d58207c2d3fdc33d5e869d5de6457;hb=38b8c213f9be6890ddba9d5564dc978c2ae2bc3d;hp=b0ad4acedfeb3ef2a392350ebdb4c4c51a40cd12;hpb=89d3a004b7c651fd5673abfc192e1472dc4d4197;p=idzebra-moved-to-github.git diff --git a/dict/lookgrep.c b/dict/lookgrep.c index b0ad4ac..b56df31 100644 --- a/dict/lookgrep.c +++ b/dict/lookgrep.c @@ -1,8 +1,5 @@ -/* $Id: lookgrep.c,v 1.34 2007-01-15 15:10:15 adam Exp $ - Copyright (C) 1995-2007 - 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