Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/base64 Use fout, fin (Mustafa Dogan)



details:   https://anonhg.NetBSD.org/src/rev/3a4cfd262712
branches:  trunk
changeset: 974863:3a4cfd262712
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 14 13:40:25 2020 +0000

description:
Use fout, fin (Mustafa Dogan)

diffstat:

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

diffs (30 lines):

diff -r 3c7ca22f87ca -r 3a4cfd262712 usr.bin/base64/base64.c
--- a/usr.bin/base64/base64.c   Fri Aug 14 10:31:40 2020 +0000
+++ b/usr.bin/base64/base64.c   Fri Aug 14 13:40:25 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: base64.c,v 1.2 2018/07/25 03:45:34 christos Exp $      */
+/*     $NetBSD: base64.c,v 1.3 2020/08/14 13:40:25 christos Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: base64.c,v 1.2 2018/07/25 03:45:34 christos Exp $");
+__RCSID("$NetBSD: base64.c,v 1.3 2020/08/14 13:40:25 christos Exp $");
 
 #include <ctype.h>
 #include <errno.h>
@@ -226,9 +226,9 @@
        int e;
 
        if (decode)
-               e = b64_decode(stdout, stdin, ignore);
+               e = b64_decode(fout, fin, ignore);
        else
-               e = b64_encode(stdout, stdin, wrap);
+               e = b64_encode(fout, fin, wrap);
 
        if (e == 0)
                return;



Home | Main Index | Thread Index | Old Index