bool
CVSInfo::is_modified()const
{
+ if(!in_sandbox() || !in_repository())
+ return false;
#ifdef _DEBUG
synfig::info("%d-%d=%d",get_current_timestamp(),get_original_timestamp(),get_current_timestamp()-get_original_timestamp());
#endif
- if(!in_sandbox() || !in_repository())
- return false;
return get_current_timestamp()!=get_original_timestamp() && abs(get_current_timestamp()-get_original_timestamp())!=3600;
}
synfig::error("Unable to get file stats");
return false;
}
- return st.st_mtime+timezone+(daylight-1)*3600;
+ time_t ret((daylight-1)*3600);
+ //ret+=timezone;
+ ret+=st.st_mtime;
+ return ret;
}
synfig::String