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): rename Arch_MemMTime to Arch_MemberMTime
details: https://anonhg.NetBSD.org/src/rev/a92e074e62c1
branches: trunk
changeset: 956737:a92e074e62c1
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Nov 06 23:59:21 2020 +0000
description:
make(1): rename Arch_MemMTime to Arch_MemberMTime
The abbreviation Mem was ambiguous, it could have meant memory as well.
diffstat:
usr.bin/make/arch.c | 6 +++---
usr.bin/make/dir.c | 6 +++---
usr.bin/make/nonints.h | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 920fac91e66a -r a92e074e62c1 usr.bin/make/arch.c
--- a/usr.bin/make/arch.c Fri Nov 06 23:11:11 2020 +0000
+++ b/usr.bin/make/arch.c Fri Nov 06 23:59:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arch.c,v 1.154 2020/11/05 17:27:16 rillig Exp $ */
+/* $NetBSD: arch.c,v 1.155 2020/11/06 23:59:21 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -130,7 +130,7 @@
#include "config.h"
/* "@(#)arch.c 8.2 (Berkeley) 1/2/94" */
-MAKE_RCSID("$NetBSD: arch.c,v 1.154 2020/11/05 17:27:16 rillig Exp $");
+MAKE_RCSID("$NetBSD: arch.c,v 1.155 2020/11/06 23:59:21 rillig Exp $");
#ifdef TARGET_MACHINE
#undef MAKE_MACHINE
@@ -930,7 +930,7 @@
/* Given a non-existent archive member's node, get its modification time from
* its archived form, if it exists. gn->mtime is filled in as well. */
time_t
-Arch_MemMTime(GNode *gn)
+Arch_MemberMTime(GNode *gn)
{
GNodeListNode *ln;
diff -r 920fac91e66a -r a92e074e62c1 usr.bin/make/dir.c
--- a/usr.bin/make/dir.c Fri Nov 06 23:11:11 2020 +0000
+++ b/usr.bin/make/dir.c Fri Nov 06 23:59:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dir.c,v 1.194 2020/11/05 17:27:16 rillig Exp $ */
+/* $NetBSD: dir.c,v 1.195 2020/11/06 23:59:21 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -134,7 +134,7 @@
#include "job.h"
/* "@(#)dir.c 8.2 (Berkeley) 1/2/94" */
-MAKE_RCSID("$NetBSD: dir.c,v 1.194 2020/11/05 17:27:16 rillig Exp $");
+MAKE_RCSID("$NetBSD: dir.c,v 1.195 2020/11/06 23:59:21 rillig Exp $");
#define DIR_DEBUG0(text) DEBUG0(DIR, text)
#define DIR_DEBUG1(fmt, arg1) DEBUG1(DIR, fmt, arg1)
@@ -1352,7 +1352,7 @@
if (gn->type & OP_MEMBER) {
if (fullName != gn->path)
free(fullName);
- return Arch_MemMTime(gn);
+ return Arch_MemberMTime(gn);
} else {
mst.mst_mtime = 0;
}
diff -r 920fac91e66a -r a92e074e62c1 usr.bin/make/nonints.h
--- a/usr.bin/make/nonints.h Fri Nov 06 23:11:11 2020 +0000
+++ b/usr.bin/make/nonints.h Fri Nov 06 23:59:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nonints.h,v 1.150 2020/11/06 23:11:11 rillig Exp $ */
+/* $NetBSD: nonints.h,v 1.151 2020/11/06 23:59:21 rillig Exp $ */
/*-
* Copyright (c) 1988, 1989, 1990, 1993
@@ -80,7 +80,7 @@
void Arch_Touch(GNode *);
void Arch_TouchLib(GNode *);
time_t Arch_MTime(GNode *);
-time_t Arch_MemMTime(GNode *);
+time_t Arch_MemberMTime(GNode *);
void Arch_FindLib(GNode *, SearchPath *);
Boolean Arch_LibOODate(GNode *);
Boolean Arch_IsLib(GNode *);
Home |
Main Index |
Thread Index |
Old Index