From: Robert Luberda <robert@debian.org>
Date: Thu, 11 Jul 2002 05:30:00 +0200
Subject: 17 Intialize tv_used
aux.c: in function alter() do initialize tv_usec part of the timeval structure
used to set modification time on the mailbox file (closes: #152038).
Thanks to John Girash for help.
---
aux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/aux.c b/aux.c
index b96afb3..a89830b 100644
--- a/aux.c
+++ b/aux.c
@@ -338,6 +338,7 @@ alter(char *name)
TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec);
#else
tv[1].tv_sec = sb.st_mtime;
+ tv[1].tv_usec = 0;
#endif
(void)utimes(name, tv);
}
--