# HG changeset patch # User vimboss # Date 1164105803 0 # Node ID 65e0c2e3a3521c9782728f307ced58a5740d87ac # Parent 04943f31135747da59cbed2b39fb109dd2796426 updated for version 7.0-166 diff --git a/src/if_cscope.c b/src/if_cscope.c --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -1008,7 +1008,7 @@ cs_find_common(opt, pat, forceit, verbos totmatches = 0; for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++) { - if (csinfo[i].fname == NULL) + if (csinfo[i].fname == NULL || csinfo[i].to_fp == NULL) continue; /* send cmd to cscope */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 166, +/**/ 165, /**/ 164,