Module Name: src
Committed By: rillig
Date: Sun Oct 4 08:22:59 UTC 2020
Modified Files:
src/usr.bin/make: main.c
Log Message:
make(1): make documentation of Error more precise
To generate a diff of this commit:
cvs rdiff -u -r1.364 -r1.365 src/usr.bin/make/main.c
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/main.c
diff -u src/usr.bin/make/main.c:1.364 src/usr.bin/make/main.c:1.365
--- src/usr.bin/make/main.c:1.364 Sat Oct 3 21:52:50 2020
+++ src/usr.bin/make/main.c Sun Oct 4 08:22:59 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.364 2020/10/03 21:52:50 rillig Exp $ */
+/* $NetBSD: main.c,v 1.365 2020/10/04 08:22:59 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -122,7 +122,7 @@
#endif
/* "@(#)main.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: main.c,v 1.364 2020/10/03 21:52:50 rillig Exp $");
+MAKE_RCSID("$NetBSD: main.c,v 1.365 2020/10/04 08:22:59 rillig Exp $");
#if defined(MAKE_NATIVE) && !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
"The Regents of the University of California. "
@@ -1715,16 +1715,10 @@ bad:
return bmake_strdup("");
}
-/*-
- * Error --
- * Print an error message given its format.
- *
- * Results:
- * None.
+/* Print a printf-style error message.
*
- * Side Effects:
- * The message is printed.
- */
+ * This error message has no consequences, in particular it does not affect
+ * the exit status. */
void
Error(const char *fmt, ...)
{