Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint2 lint: add reminder to sort the output of...



details:   https://anonhg.NetBSD.org/src/rev/9d8afa26b20f
branches:  trunk
changeset: 1022882:9d8afa26b20f
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Aug 11 05:37:45 2021 +0000

description:
lint: add reminder to sort the output of lint2

diffstat:

 usr.bin/xlint/lint2/main2.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r aebe6fcd6dcf -r 9d8afa26b20f usr.bin/xlint/lint2/main2.c
--- a/usr.bin/xlint/lint2/main2.c       Wed Aug 11 05:23:05 2021 +0000
+++ b/usr.bin/xlint/lint2/main2.c       Wed Aug 11 05:37:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main2.c,v 1.17 2021/04/18 22:51:24 rillig Exp $        */
+/*     $NetBSD: main2.c,v 1.18 2021/08/11 05:37:45 rillig Exp $        */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: main2.c,v 1.17 2021/04/18 22:51:24 rillig Exp $");
+__RCSID("$NetBSD: main2.c,v 1.18 2021/08/11 05:37:45 rillig Exp $");
 #endif
 
 #include <stdio.h>
@@ -181,6 +181,7 @@
        mainused();
 
        /* perform all tests */
+       /* TODO: sort the names; hashcode order looks chaotic. */
        forall(chkname);
 
        exit(0);



Home | Main Index | Thread Index | Old Index