NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/55565: mtree time= values wrong for tv_nsec<100000000



The following reply was made to PR bin/55565; it has been noted by GNATS.

From: Bruce Lilly <bruce.lilly%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/55565: mtree time= values wrong for tv_nsec<100000000
Date: Wed, 12 Aug 2020 18:00:35 -0400

 Additional issues in create.c; patch:
 
 *** create.c.orig       2020-08-12 17:55:53.016206136 -0400
 --- create.c    2020-08-12 17:55:00.540208359 -0400
 ***************
 *** 230,240 ****
                 output(&indent, "size=%lld", (long long)p->fts_statp->st_size);
   #if defined(BSD4_4) && !defined(HAVE_NBTOOL_CONFIG_H)
         if (keys & F_TIME)
 !               output(&indent, "time=%ld.%ld",
                     (long)p->fts_statp->st_mtimespec.tv_sec,
                     p->fts_statp->st_mtimespec.tv_nsec);
   #else
 !               output(&indent, "time=%ld.%ld",
                     p->fts_statp->st_mtime, 0);
   #endif
         if (keys & F_CKSUM && S_ISREG(p->fts_statp->st_mode)) {
 --- 230,240 ----
                 output(&indent, "size=%lld", (long long)p->fts_statp->st_size);
   #if defined(BSD4_4) && !defined(HAVE_NBTOOL_CONFIG_H)
         if (keys & F_TIME)
 !               output(&indent, "time=%ld.%09ld",
                     (long)p->fts_statp->st_mtimespec.tv_sec,
                     p->fts_statp->st_mtimespec.tv_nsec);
   #else
 !               output(&indent, "time=%ld.%09ld",
                     p->fts_statp->st_mtime, 0);
   #endif
         if (keys & F_CKSUM && S_ISREG(p->fts_statp->st_mode)) {
 
 On Wed, Aug 12, 2020 at 5:55 PM <gnats-admin%netbsd.org@localhost> wrote:
 >
 > Thank you very much for your problem report.
 > It has the internal identification `bin/55565'.
 > The individual assigned to look at your
 > report is: bin-bug-people.
 >
 > >Category:       bin
 > >Responsible:    bin-bug-people
 > >Synopsis:       mtree time= values wrong for tv_nsec<100000000
 > >Arrival-Date:   Wed Aug 12 21:55:00 +0000 2020
 >
 



Home | Main Index | Thread Index | Old Index