Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/catman Don't rebuild the cat page if the time stamp...



details:   https://anonhg.NetBSD.org/src/rev/2c877fdbd1d4
branches:  trunk
changeset: 472063:2c877fdbd1d4
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Apr 20 05:02:36 1999 +0000

description:
Don't rebuild the cat page if the time stamp is the *same*; this can happen
just because `make install' ran quickly.

diffstat:

 usr.sbin/catman/catman.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e057a06549bb -r 2c877fdbd1d4 usr.sbin/catman/catman.c
--- a/usr.sbin/catman/catman.c  Tue Apr 20 04:40:24 1999 +0000
+++ b/usr.sbin/catman/catman.c  Tue Apr 20 05:02:36 1999 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: catman.c,v 1.10 1999/04/04 10:56:38 dante Exp $       */
+/*      $NetBSD: catman.c,v 1.11 1999/04/20 05:02:36 mycroft Exp $       */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -483,7 +483,7 @@
                }
 
                if ((error && errno == ENOENT) ||
-                   manstat.st_mtime >= catstat.st_mtime) {
+                   manstat.st_mtime > catstat.st_mtime) {
                        if (f_noformat) {
                                dowhatis = 1;
                        } else {



Home | Main Index | Thread Index | Old Index