Module Name: src Committed By: rillig Date: Fri Nov 6 20:24:08 UTC 2020
Modified Files: src/usr.bin/make: make.h Log Message: make(1): document progname To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/usr.bin/make/make.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/make.h diff -u src/usr.bin/make/make.h:1.190 src/usr.bin/make/make.h:1.191 --- src/usr.bin/make/make.h:1.190 Fri Nov 6 20:20:00 2020 +++ src/usr.bin/make/make.h Fri Nov 6 20:24:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: make.h,v 1.190 2020/11/06 20:20:00 rillig Exp $ */ +/* $NetBSD: make.h,v 1.191 2020/11/06 20:24:08 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -463,9 +463,12 @@ extern SearchPath *sysIncPath; /* The default for sysIncPath. */ extern SearchPath *defSysIncPath; -extern char curdir[]; /* Startup directory */ -extern char *progname; /* The program name */ -extern char *makeDependfile; /* Name of the .depend makefile */ +/* Startup directory */ +extern char curdir[]; +/* The basename of the program name, suffixed with [n] for sub-makes. */ +extern char *progname; +/* Name of the .depend makefile */ +extern char *makeDependfile; /* If we replaced environ, this will be non-NULL. */ extern char **savedEnv;