artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8948059
)
When used by itself, replace use of the old BSD st_mtimespec.tv_sec
author
guenther
<guenther@openbsd.org>
Fri, 11 Aug 2023 04:44:28 +0000
(
04:44
+0000)
committer
guenther
<guenther@openbsd.org>
Fri, 11 Aug 2023 04:44:28 +0000
(
04:44
+0000)
member in struct stat with for-all-time st_mtime member.
ok millert@
usr.bin/rcs/ci.c
patch
|
blob
|
history
diff --git
a/usr.bin/rcs/ci.c
b/usr.bin/rcs/ci.c
index
765b03a
..
d77e12c
100644
(file)
--- a/
usr.bin/rcs/ci.c
+++ b/
usr.bin/rcs/ci.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ci.c,v 1.22
4 2016/07/04 01:39:12 millert Exp $
*/
+/* $OpenBSD: ci.c,v 1.22
5 2023/08/11 04:44:28 guenther Exp $
*/
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@
-823,7
+823,7
@@
checkin_mtimedate(struct checkin_params *pb)
if (fstat(workfile_fd, &sb) == -1)
err(1, "%s", pb->filename);
- pb->date = sb.st_mtime
spec.tv_sec
;
+ pb->date = sb.st_mtime;
}
/*