record/show mtime instead of ctime
This commit is contained in:
parent
b4a4eb76d8
commit
2bf6bd56f5
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] = "@(#$Id: indexer.cpp,v 1.43 2006-10-25 11:50:49 dockes Exp $ (C) 2004 J.F.Dockes";
|
static char rcsid[] = "@(#$Id: indexer.cpp,v 1.44 2006-11-07 06:41:44 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -367,7 +367,7 @@ DbIndexer::processone(const std::string &fn, const struct stat *stp,
|
|||||||
bool hadNullIpath = false;
|
bool hadNullIpath = false;
|
||||||
Rcl::Doc doc;
|
Rcl::Doc doc;
|
||||||
char ascdate[20];
|
char ascdate[20];
|
||||||
sprintf(ascdate, "%ld", long(stp->st_ctime));
|
sprintf(ascdate, "%ld", long(stp->st_mtime));
|
||||||
while (fis == FileInterner::FIAgain) {
|
while (fis == FileInterner::FIAgain) {
|
||||||
doc.erase();
|
doc.erase();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user