Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/base64 make ignore whitespace the default



details:   https://anonhg.NetBSD.org/src/rev/2c9499bf03fd
branches:  trunk
changeset: 985470:2c9499bf03fd
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 27 17:53:13 2021 +0000

description:
make ignore whitespace the default

diffstat:

 usr.bin/base64/base64.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 02d84b2bf57f -r 2c9499bf03fd usr.bin/base64/base64.c
--- a/usr.bin/base64/base64.c   Fri Aug 27 17:49:31 2021 +0000
+++ b/usr.bin/base64/base64.c   Fri Aug 27 17:53:13 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: base64.c,v 1.4 2021/08/25 22:43:20 rillig Exp $        */
+/*     $NetBSD: base64.c,v 1.5 2021/08/27 17:53:13 christos Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: base64.c,v 1.4 2021/08/25 22:43:20 rillig Exp $");
+__RCSID("$NetBSD: base64.c,v 1.5 2021/08/27 17:53:13 christos Exp $");
 
 #include <ctype.h>
 #include <errno.h>
@@ -240,7 +240,7 @@
 {
        bool decode = false;
        size_t wrap = 76;
-       bool ignore = false;
+       bool ignore = true;
        int c;
 
        while ((c = getopt(argc, argv, "b:Ddiw:")) != -1) {



Home | Main Index | Thread Index | Old Index