diff options
| author | Wiimm <none> | 2020-10-01 15:48:15 +0200 |
|---|---|---|
| committer | Wiimm <none> | 2020-10-01 15:48:15 +0200 |
| commit | 89f00e8e4730b4834e6cc0c96e14f137ca4ac169 (patch) | |
| tree | 7a0b1f1dec437513fbaaa2ff9f35457f0e5b73ba /project | |
| parent | 731a1ce8fcdbbd1fa8f4f693c3f7f2b74d81e598 (diff) | |
SZS v2.20a.beta7: Test Mac build
Diffstat (limited to 'project')
| -rw-r--r-- | project/Makefile | 2 | ||||
| -rw-r--r-- | project/dclib/dclib-file.c | 25 |
2 files changed, 21 insertions, 6 deletions
diff --git a/project/Makefile b/project/Makefile index 8d6b2fa..0da2ac0 100644 --- a/project/Makefile +++ b/project/Makefile @@ -59,7 +59,7 @@ WSTRT_SHORT = wstrt WSTRT_LONG = Wiimms StaticR Tool VERSION_NUM = 2.20a -BETA_VERSION = 6 +BETA_VERSION = 7 # 0:off -1:"beta" >0:"beta#" URI_HOME = https://szs.wiimm.de/ diff --git a/project/dclib/dclib-file.c b/project/dclib/dclib-file.c index 798fd16..cef7add 100644 --- a/project/dclib/dclib-file.c +++ b/project/dclib/dclib-file.c @@ -342,18 +342,33 @@ FileAttrib_t * MaxFileAttrib dest->itime = src_stat->st_ctim; #else if ( CompareTimeSpecTime(&dest->atime,src_stat->st_atime) > 0 ) - dest->atime = src_stat->st_atim; + { + dest->atime.tv_sec = src_stat->st_atime; + dest->atime.tv_nsec = 0; + } if ( CompareTimeSpecTime(&dest->mtime,src_stat->st_mtime) > 0 ) - dest->mtime = src_stat->st_mtim; + { + dest->mtime.tv_sec = src_stat->st_mtime; + dest->mtime.tv_nsec = 0; + } if ( CompareTimeSpecTime(&dest->ctime,src_stat->st_ctime) > 0 ) - dest->ctime = src_stat->st_ctim; + { + dest->ctime.tv_sec = src_stat->st_ctime; + dest->ctime.tv_nsec = 0; + } if ( CompareTimeSpecTime(&dest->itime,src_stat->st_mtime) > 0 ) - dest->itime = src_stat->st_mtim; + { + dest->itime.tv_sec = src_stat->st_mtime; + dest->itime.tv_nsec = 0; + } if ( CompareTimeSpecTime(&dest->itime,src_stat->st_ctime) > 0 ) - dest->itime = src_stat->st_ctim; + { + dest->itime.tv_sec = src_stat->st_ctime; + dest->itime.tv_nsec = 0; + } #endif if ( dest->size < src_stat->st_size ) |
