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): remove wrong comment for Dir_Init
details: https://anonhg.NetBSD.org/src/rev/83b622fe5428
branches: trunk
changeset: 937613:83b622fe5428
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Aug 22 14:04:22 2020 +0000
description:
make(1): remove wrong comment for Dir_Init
Neither the list nor the hash table modules have anything to do with
opening directories.
diffstat:
usr.bin/make/dir.c | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diffs (47 lines):
diff -r 7d6c989bf3fc -r 83b622fe5428 usr.bin/make/dir.c
--- a/usr.bin/make/dir.c Sat Aug 22 13:59:16 2020 +0000
+++ b/usr.bin/make/dir.c Sat Aug 22 14:04:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dir.c,v 1.100 2020/08/22 11:35:00 rillig Exp $ */
+/* $NetBSD: dir.c,v 1.101 2020/08/22 14:04:22 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: dir.c,v 1.100 2020/08/22 11:35:00 rillig Exp $";
+static char rcsid[] = "$NetBSD: dir.c,v 1.101 2020/08/22 14:04:22 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)dir.c 8.2 (Berkeley) 1/2/94";
#else
-__RCSID("$NetBSD: dir.c,v 1.100 2020/08/22 11:35:00 rillig Exp $");
+__RCSID("$NetBSD: dir.c,v 1.101 2020/08/22 14:04:22 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -143,7 +143,6 @@
#include <stdio.h>
#include "make.h"
-#include "hash.h"
#include "dir.h"
#include "job.h"
@@ -350,11 +349,7 @@
return cached_stats(&lmtimes, pathname, st, CST_LSTAT);
}
-/* Initialize things for this module.
- *
- * Side Effects:
- * some directories may be opened.
- */
+/* Initialize things for this module. */
void
Dir_Init(void)
{
Home |
Main Index |
Thread Index |
Old Index