Ticket #3821 (closed defect: fixed)

Opened 8 years ago

Last modified 4 months ago

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:1 Changed 8 years ago by zaytsev

Branch: 3821_init_st_mtim
Initial changeset: 6b21e2768bb8058915440f658e29d798dd0c2537

comment:2 Changed 8 years ago by zaytsev

  • Owner set to zaytsev
  • Status changed from new to accepted
  • Branch state changed from no branch to on review

comment:3 Changed 8 years ago by andrew_b

  • Votes for changeset set to andrew_b

comment:4 Changed 8 years ago by andrew_b

  • Branch state changed from on review to approved

comment:5 Changed 8 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 8 years ago by zaytsev

comment:7 Changed 8 years ago by zaytsev

  • Description modified (diff)

comment:8 Changed 8 years ago by zaytsev

  • Status changed from testing to closed

comment:9 Changed 6 months ago by zaytsev

Fallout from #3575

comment:10 Changed 4 months ago by zaytsev

Referenced by #4542

Note: See TracTickets for help on using tickets.