]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: set nsec to 0 when converting stat struct on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 9 Sep 2022 13:51:44 +0000 (13:51 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 10 Nov 2022 07:38:13 +0000 (09:38 +0200)
commit1c9e763fc0a6249c66f10b46bc1496b494577ea4
tree586ddeca61f2e97e02deb91243fdf90f9e1136d4
parent98eef6229c1c69037974fe49cf3be5cfbbbcb289
client: set nsec to 0 when converting stat struct on Windows

The Windows stat structure has limitted timestamp precision.
We'll ensure that the nsec field is properly initialized with 0.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/client/Client.cc