Files that were created in the future (time zone issues, or whatever)
shouldn't be regarded recent either. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23384 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f1b05aa545
commit
46c6a221a8
|
@ -2563,7 +2563,7 @@ BPoseView::ReadPoseInfo(Model *model, PoseInfo *poseInfo)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
const StatStruct *stat = model->StatBuf();
|
const StatStruct *stat = model->StatBuf();
|
||||||
if (stat->st_crtime < now - 5)
|
if (stat->st_crtime < now - 5 || stat->st_crtime > now)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// PRINT(("retrying to read pose info for %s, %d\n", model->Name(), count));
|
// PRINT(("retrying to read pose info for %s, %d\n", model->Name(), count));
|
||||||
|
|
Loading…
Reference in New Issue