Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: sync comment with reality



details:   https://anonhg.NetBSD.org/src/rev/c71d7c8606d4
branches:  trunk
changeset: 366258:c71d7c8606d4
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri May 20 21:03:04 2022 +0000

description:
tests/lint: sync comment with reality

diffstat:

 tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 8095a58561d1 -r c71d7c8606d4 tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c
--- a/tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c      Fri May 20 19:34:22 2022 +0000
+++ b/tests/usr.bin/xlint/lint1/d_c99_bool_strict_syshdr.c      Fri May 20 21:03:04 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: d_c99_bool_strict_syshdr.c,v 1.14 2022/05/19 17:24:14 rillig Exp $     */
+/*     $NetBSD: d_c99_bool_strict_syshdr.c,v 1.15 2022/05/20 21:03:04 rillig Exp $     */
 # 3 "d_c99_bool_strict_syshdr.c"
 
 /*
@@ -213,9 +213,9 @@
  * warnings in user code; that's irrelevant for this test though.
  *
  * Several curses functions take bool as a parameter, for example keypad or
- * leaveok.  As of 2022-05-19, lint does not complain when these functions
- * get 0 instead of 'false' as an argument.  It does complain about 1 instead
- * of 'true' though.
+ * leaveok.  Before ckbool.c 1.14 from 2022-05-19, lint did not complain when
+ * these functions get 0 instead of 'false' as an argument.  It did complain
+ * about 1 instead of 'true' though.
  */
 void
 pass_bool_to_function(void)



Home | Main Index | Thread Index | Old Index