diff options
author | 2006-06-14 20:28:53 +0000 | |
---|---|---|
committer | 2006-06-14 20:28:53 +0000 | |
commit | 372bef85e4cb90a7f40da0a6e6de9b7f46e13bc8 (patch) | |
tree | 343e3690c63d5a4a20c7288bb753a1bf99e5161b /usr.bin/cvs/diff.c | |
parent | - If the codec has support for a modem then print that there is no (diff) | |
download | wireguard-openbsd-372bef85e4cb90a7f40da0a6e6de9b7f46e13bc8.tar.xz wireguard-openbsd-372bef85e4cb90a7f40da0a6e6de9b7f46e13bc8.zip |
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.c | 5 |
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]; |