Treat as not-modified if stat modified time == modifiedSince time.
Change-Id: I39c25752bdc26bd57bf883cb533d42579eec43be
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
ThrowExc(FileDoNotExist, "file not exist: " << fpath);
} else if (!S_ISREG(statptr->st_mode) && !S_ISDIR(statptr->st_mode)) {
ThrowExc(FileSystemError, "file type is not reguler or dir: " << fpath);
- } else if (modifiedSince != -1 && statptr->st_mtim.tv_sec < modifiedSince) {
+ } else if (modifiedSince != -1 && statptr->st_mtim.tv_sec <= modifiedSince) {
DEBUG("file[" << fpath << "] isn't modified since[" << modifiedSince << "]");
return nullptr;
} else {