X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fdirs.c;h=1b4cf8e841f600a6c830744f2aa5630350addcab;hb=15ded665c8ca37e3c7a99ce48c2e78acdb727bd6;hp=61764524d8c1d1aa917047269f70c4e745a7fb8a;hpb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;p=idzebra-moved-to-github.git diff --git a/index/dirs.c b/index/dirs.c index 6176452..1b4cf8e 100644 --- a/index/dirs.c +++ b/index/dirs.c @@ -1,10 +1,12 @@ /* - * Copyright (C) 1994-1999, Index Data + * Copyright (C) 1994-2001, Index Data * All rights reserved. - * Sebastian Hammer, Adam Dickmeiss * * $Log: dirs.c,v $ - * Revision 1.16 1999-05-26 07:49:13 adam + * Revision 1.17 2001-03-29 14:07:14 adam + * Fixed nasty bug for fileUpdate. + * + * Revision 1.16 1999/05/26 07:49:13 adam * C++ compilation. * * Revision 1.15 1999/02/02 14:50:51 adam @@ -183,7 +185,7 @@ struct dirs_entry *dirs_read (struct dirs_info *p) logf (LOG_DEBUG, "dirs_read rescan"); dict_scan (p->dict, p->nextpath, &before, &after, p, dirs_client_proc); p->no_read = 1; - if (p->no_read < p->no_cur) + if (p->no_read <= p->no_cur) return p->last_entry = p->entries; return p->last_entry = NULL; }