projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12ed44c
)
Fixed nasty bug for fileUpdate.
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 29 Mar 2001 14:07:14 +0000
(14:07 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 29 Mar 2001 14:07:14 +0000
(14:07 +0000)
index/dirs.c
patch
|
blob
|
history
diff --git
a/index/dirs.c
b/index/dirs.c
index
6176452
..
1b4cf8e
100644
(file)
--- 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.
* All rights reserved.
- * Sebastian Hammer, Adam Dickmeiss
*
* $Log: dirs.c,v $
*
* $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
* 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;
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;
}
return p->last_entry = p->entries;
return p->last_entry = NULL;
}