Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/indent indent: fix space-tab alignment in indent's o...



details:   https://anonhg.NetBSD.org/src/rev/060a2bf8bd24
branches:  trunk
changeset: 981271:060a2bf8bd24
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Mar 06 20:30:06 2021 +0000

description:
indent: fix space-tab alignment in indent's own code

These parts are not fixed automatically by indent since they are in box
comments.

No functional change.

diffstat:

 usr.bin/indent/indent.c |   6 +++---
 usr.bin/indent/io.c     |  10 +++++-----
 usr.bin/indent/parse.c  |   4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r b2bc1e160635 -r 060a2bf8bd24 usr.bin/indent/indent.c
--- a/usr.bin/indent/indent.c   Sat Mar 06 20:11:08 2021 +0000
+++ b/usr.bin/indent/indent.c   Sat Mar 06 20:30:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.c,v 1.27 2020/04/23 00:17:34 joerg Exp $        */
+/*     $NetBSD: indent.c,v 1.28 2021/03/06 20:30:06 rillig Exp $       */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: indent.c,v 1.27 2020/04/23 00:17:34 joerg Exp $");
+__RCSID("$NetBSD: indent.c,v 1.28 2021/03/06 20:30:06 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/indent.c 340138 2018-11-04 19:24:49Z oshogbo $");
 #endif
@@ -228,7 +228,7 @@
         simple_backup_suffix = envval;
 
     /*--------------------------------------------------*\
-    |                  COMMAND LINE SCAN                |
+    |                  COMMAND LINE SCAN                |
     \*--------------------------------------------------*/
 
 #ifdef undef
diff -r b2bc1e160635 -r 060a2bf8bd24 usr.bin/indent/io.c
--- a/usr.bin/indent/io.c       Sat Mar 06 20:11:08 2021 +0000
+++ b/usr.bin/indent/io.c       Sat Mar 06 20:30:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io.c,v 1.20 2019/10/19 15:44:31 christos Exp $ */
+/*     $NetBSD: io.c,v 1.21 2021/03/06 20:30:06 rillig Exp $   */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: io.c,v 1.20 2019/10/19 15:44:31 christos Exp $");
+__RCSID("$NetBSD: io.c,v 1.21 2021/03/06 20:30:06 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/io.c 334927 2018-06-10 16:44:18Z pstef $");
 #endif
@@ -277,7 +277,7 @@
  *
  * FUNCTION: Reads one block of input into input_buffer
  *
- * HISTORY: initial coding     November 1976   D A Willcox of CAC 1/7/77 A
+ * HISTORY: initial coding     November 1976   D A Willcox of CAC 1/7/77 A
  * Willcox of CAC      Added check for switch back to partly full input
  * buffer from temporary buffer
  *
@@ -395,7 +395,7 @@
  *
  * CALLED BY: dump_line
  *
- * HISTORY: initial coding     November 1976   D A Willcox of CAC
+ * HISTORY: initial coding     November 1976   D A Willcox of CAC
  *
  */
 static int
@@ -442,7 +442,7 @@
  * RETURNS: Integer value of position after printing "buffer" starting in column
  * "current".
  *
- * HISTORY: initial coding     November 1976   D A Willcox of CAC
+ * HISTORY: initial coding     November 1976   D A Willcox of CAC
  *
  */
 int
diff -r b2bc1e160635 -r 060a2bf8bd24 usr.bin/indent/parse.c
--- a/usr.bin/indent/parse.c    Sat Mar 06 20:11:08 2021 +0000
+++ b/usr.bin/indent/parse.c    Sat Mar 06 20:30:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.10 2019/10/19 15:44:31 christos Exp $      */
+/*     $NetBSD: parse.c,v 1.11 2021/03/06 20:30:06 rillig Exp $        */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -265,7 +265,7 @@
  *
  * CALLED BY: parse
  *
- * HISTORY: initial coding     November 1976   D A Willcox of CAC
+ * HISTORY: initial coding     November 1976   D A Willcox of CAC
  *
  */
 /*----------------------------------------------*\



Home | Main Index | Thread Index | Old Index