Module Name: src Committed By: christos Date: Mon Dec 19 01:48:00 UTC 2016
Modified Files: src/usr.bin/cvslatest: cvslatest.c Log Message: print only the latest entry for debugging. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/cvslatest/cvslatest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/cvslatest/cvslatest.c diff -u src/usr.bin/cvslatest/cvslatest.c:1.2 src/usr.bin/cvslatest/cvslatest.c:1.3 --- src/usr.bin/cvslatest/cvslatest.c:1.2 Sun Jan 24 15:14:44 2016 +++ src/usr.bin/cvslatest/cvslatest.c Sun Dec 18 20:48:00 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: cvslatest.c,v 1.2 2016/01/24 20:14:44 christos Exp $ */ +/* $NetBSD: cvslatest.c,v 1.3 2016/12/19 01:48:00 christos Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: cvslatest.c,v 1.2 2016/01/24 20:14:44 christos Exp $"); +__RCSID("$NetBSD: cvslatest.c,v 1.3 2016/12/19 01:48:00 christos Exp $"); /* * Find the latest timestamp in a set of CVS trees, by examining the @@ -120,7 +120,7 @@ getlatest(const char *path, const char * lat->time = t; snprintf(lat->path, sizeof(lat->path), "%s/%s", repo, fn); - if (debug) + if (debug > 1) printlat(lat); } }