Ticket #3821 (closed defect: fixed)
Initialize struct stat st_[acm]tim.tv_nsec when present
Reported by: | zaytsev | Owned by: | zaytsev |
---|---|---|---|
Priority: | major | Milestone: | 4.8.20 |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description (last modified by zaytsev) (diff)
OS takes care to initialize struct stat properly. By not using an OS syscall or a libc wrapper to fill struct stat, we have to take care of initializing all fields (or at least those being used later) explicitly.
https://mail.gnome.org/archives/mc-devel/2017-April/msg00000.html
Change History
comment:2 Changed 7 years ago by zaytsev
- Owner set to zaytsev
- Status changed from new to accepted
- Branch state changed from no branch to on review
comment:5 Changed 7 years ago by zaytsev
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
comment:6 Changed 7 years ago by zaytsev
Merged to master: b088459e0e64ff2bdc70b97f654feecbaa273104
comment:10 Changed 5 weeks ago by zaytsev
Referenced by #4542
Note: See
TracTickets for help on using
tickets.
Branch: 3821_init_st_mtim
Initial changeset: 6b21e2768bb8058915440f658e29d798dd0c2537