Ticket #3821 (closed defect: fixed)

Opened 5 months 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 5 months ago by zaytsev

Branch: 3821_init_st_mtim
Initial changeset: 6b21e2768bb8058915440f658e29d798dd0c2537

comment:2 Changed 5 months ago by zaytsev

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

comment:3 Changed 5 months ago by andrew_b

  • Votes for changeset set to andrew_b

comment:4 Changed 4 months ago by andrew_b

  • Branch state changed from on review to approved

comment:5 Changed 4 months 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 4 months ago by zaytsev

comment:7 Changed 4 months ago by zaytsev

  • Description modified (diff)

comment:8 Changed 4 months ago by zaytsev

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.