Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
security:tls:staging
mtree
mtree-stat-mtime.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mtree-stat-mtime.patch of Package mtree
diff -ur mtree-port-1.0.4.orig/compare.c mtree-port-1.0.4/compare.c --- mtree-port-1.0.4.orig/compare.c 2017-12-07 22:59:27.000000000 +0000 +++ mtree-port-1.0.4/compare.c 2021-02-19 17:21:50.697952470 +0000 @@ -183,13 +183,13 @@ * Catches nano-second differences, but doesn't display them. */ if ((s->flags & F_TIME) && - ((s->st_mtimespec.tv_sec != p->fts_statp->st_mtimespec.tv_sec) || - (s->st_mtimespec.tv_nsec != p->fts_statp->st_mtimespec.tv_nsec))) { + ((s->st_mtimespec.tv_sec != p->fts_statp->st_mtim.tv_sec) || + (s->st_mtimespec.tv_nsec != p->fts_statp->st_mtim.tv_nsec))) { LABEL; (void)printf("%smodification time expected %.24s ", tab, ctime(&s->st_mtimespec.tv_sec)); (void)printf("found %.24s", - ctime(&p->fts_statp->st_mtimespec.tv_sec)); + ctime(&p->fts_statp->st_mtim.tv_sec)); if (uflag) { tv[0].tv_sec = s->st_mtimespec.tv_sec; tv[0].tv_usec = s->st_mtimespec.tv_nsec / 1000; diff -ur mtree-port-1.0.4.orig/create.c mtree-port-1.0.4/create.c --- mtree-port-1.0.4.orig/create.c 2017-12-07 22:59:27.000000000 +0000 +++ mtree-port-1.0.4/create.c 2021-02-19 16:58:58.554128154 +0000 @@ -213,8 +213,8 @@ (intmax_t)p->fts_statp->st_size); if (keys & F_TIME) output(indent, &offset, "time=%ld.%09ld", - (long)p->fts_statp->st_mtimespec.tv_sec, - p->fts_statp->st_mtimespec.tv_nsec); + (long)p->fts_statp->st_mtim.tv_sec, + p->fts_statp->st_mtim.tv_nsec); if (keys & F_CKSUM && S_ISREG(p->fts_statp->st_mode)) { if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 || crc(fd, &val, &len))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor