summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-06-14 20:28:54 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-06-14 20:28:54 +0000
commit4a2dc2e0e9143d5963c45115a8e281e855e860cf (patch)
treeadab8b78eb65b6686de7902ee8d925df7963338e /usr.bin/cvs/diff.c
parent6f7bc7754ed423e884b5b756089b28b199672bab (diff)
simplify cvs_hack_time() and the way it is called;
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index afe65b4c9cb..9f039c332f6 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.102 2006/06/01 20:01:47 joris Exp $ */
+/* $OpenBSD: diff.c,v 1.103 2006/06/14 20:28:53 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -196,9 +196,6 @@ cvs_diff_local(struct cvs_file *cf)
fatal("failed to load %s", cf->file_path);
st.st_mtime = cvs_hack_time(st.st_mtime, 1);
- if (st.st_mtime == 0)
- fatal("cvs_diff_local: to gmt failed");
-
tv2[0].tv_sec = st.st_mtime;
tv2[0].tv_usec = 0;
tv2[1] = tv2[0];