Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/wsfontload -fix uninitialized "verbose" flag



details:   https://anonhg.NetBSD.org/src/rev/8878f65615f5
branches:  trunk
changeset: 514536:8878f65615f5
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Sep 04 17:59:04 2001 +0000

description:
-fix uninitialized "verbose" flag
-add iso2, iso7 encodings

diffstat:

 usr.sbin/wsfontload/wsfontload.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 92c82a66b5e9 -r 8878f65615f5 usr.sbin/wsfontload/wsfontload.c
--- a/usr.sbin/wsfontload/wsfontload.c  Tue Sep 04 17:57:16 2001 +0000
+++ b/usr.sbin/wsfontload/wsfontload.c  Tue Sep 04 17:59:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsfontload.c,v 1.6 2001/02/19 23:22:50 cgd Exp $ */
+/* $NetBSD: wsfontload.c,v 1.7 2001/09/04 17:59:04 drochner Exp $ */
 
 /*
  * Copyright (c) 1999
@@ -73,6 +73,8 @@
        {"iso", WSDISPLAY_FONTENC_ISO},
        {"ibm", WSDISPLAY_FONTENC_IBM},
        {"pcvt", WSDISPLAY_FONTENC_PCVT},
+       {"iso7", WSDISPLAY_FONTENC_ISO7},
+       {"iso2", WSDISPLAY_FONTENC_ISO2},
 };
 
 static void
@@ -143,7 +145,7 @@
 {
        char *wsdev;
        struct wsdisplay_font f;
-       int c, res, wsfd, ffd, verbose;
+       int c, res, wsfd, ffd, verbose = 0;
        size_t len;
        void *buf;
 



Home | Main Index | Thread Index | Old Index