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): fix function names in archive debug ou...
details: https://anonhg.NetBSD.org/src/rev/58ec4b49b330
branches: trunk
changeset: 956764:58ec4b49b330
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Nov 07 13:39:41 2020 +0000
description:
make(1): fix function names in archive debug output
diffstat:
usr.bin/make/arch.c | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r 05cdba95049f -r 58ec4b49b330 usr.bin/make/arch.c
--- a/usr.bin/make/arch.c Sat Nov 07 13:34:46 2020 +0000
+++ b/usr.bin/make/arch.c Sat Nov 07 13:39:41 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arch.c,v 1.168 2020/11/07 13:34:46 rillig Exp $ */
+/* $NetBSD: arch.c,v 1.169 2020/11/07 13:39:41 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.168 2020/11/07 13:34:46 rillig Exp $");
+MAKE_RCSID("$NetBSD: arch.c,v 1.169 2020/11/07 13:39:41 rillig Exp $");
typedef struct List ArchList;
typedef struct ListNode ArchListNode;
@@ -548,10 +548,9 @@
memName[elen] = '\0';
if (fseek(arch, -elen, SEEK_CUR) != 0)
goto badarch;
- if (DEBUG(ARCH) || DEBUG(MAKE)) {
- debug_printf("ArchStat: Extended format entry for %s\n",
+ if (DEBUG(ARCH) || DEBUG(MAKE))
+ debug_printf("ArchStatMember: Extended format entry for %s\n",
memName);
- }
}
#endif
@@ -793,9 +792,9 @@
return NULL;
}
ename[elen] = '\0';
- if (DEBUG(ARCH) || DEBUG(MAKE)) {
- debug_printf("ArchFind: Extended format entry for %s\n", ename);
- }
+ if (DEBUG(ARCH) || DEBUG(MAKE))
+ debug_printf("ArchFindMember: Extended format entry for %s\n",
+ ename);
if (strncmp(ename, member, len) == 0) {
/* Found as extended name */
if (fseek(arch, -(long)sizeof(struct ar_hdr) - elen,
Home |
Main Index |
Thread Index |
Old Index