Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/xcvs/dist/src fix reversed logic
details: https://anonhg.NetBSD.org/src/rev/a5631b166aa4
branches: trunk
changeset: 349694:a5631b166aa4
user: christos <christos%NetBSD.org@localhost>
date: Mon Dec 19 04:44:35 2016 +0000
description:
fix reversed logic
diffstat:
external/gpl2/xcvs/dist/src/update.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r b15cadc13456 -r a5631b166aa4 external/gpl2/xcvs/dist/src/update.c
--- a/external/gpl2/xcvs/dist/src/update.c Mon Dec 19 04:37:13 2016 +0000
+++ b/external/gpl2/xcvs/dist/src/update.c Mon Dec 19 04:44:35 2016 +0000
@@ -38,7 +38,7 @@
* as well.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: update.c,v 1.7 2016/12/19 04:37:13 christos Exp $");
+__RCSID("$NetBSD: update.c,v 1.8 2016/12/19 04:44:35 christos Exp $");
#include "cvs.h"
#include <assert.h>
@@ -1377,7 +1377,7 @@
* always pass the time to the client, and let it decide
* if it is going to set the time
*/
- && (preserve_timestamps_on_update ||
+ && (!preserve_timestamps_on_update ||
vers_ts->vn_user == NULL ||
strncmp (vers_ts->ts_rcs, "Initial", 7) == 0)
&& !file_is_dead);
Home |
Main Index |
Thread Index |
Old Index