Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): replace hashed with cached in comments



details:   https://anonhg.NetBSD.org/src/rev/3f6e4bb4cf24
branches:  trunk
changeset: 1016020:3f6e4bb4cf24
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 07 13:24:06 2020 +0000

description:
make(1): replace hashed with cached in comments

The hash table is just an implementation detail, not worth to be
mentioned in comments.

diffstat:

 usr.bin/make/arch.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r dda56106ee41 -r 3f6e4bb4cf24 usr.bin/make/arch.c
--- a/usr.bin/make/arch.c       Sat Nov 07 13:21:57 2020 +0000
+++ b/usr.bin/make/arch.c       Sat Nov 07 13:24:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arch.c,v 1.165 2020/11/07 13:21:57 rillig Exp $        */
+/*     $NetBSD: arch.c,v 1.166 2020/11/07 13:24:06 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -125,7 +125,7 @@
 #include "config.h"
 
 /*     "@(#)arch.c     8.2 (Berkeley) 1/2/94"  */
-MAKE_RCSID("$NetBSD: arch.c,v 1.165 2020/11/07 13:21:57 rillig Exp $");
+MAKE_RCSID("$NetBSD: arch.c,v 1.166 2020/11/07 13:24:06 rillig Exp $");
 
 typedef struct List ArchList;
 typedef struct ListNode ArchListNode;
@@ -446,9 +446,9 @@
 
     if (!addToCache) {
        /*
-        * Caller doesn't want the thing hashed, just use ArchFindMember
+        * Caller doesn't want the thing cached, just use ArchFindMember
         * to read the header for the member out and close down the stream
-        * again. Since the archive is not to be hashed, we assume there's
+        * again. Since the archive is not to be cached, we assume there's
         * no need to allocate extra room for the header we're returning,
         * so just declare it static.
         */



Home | Main Index | Thread Index | Old Index