s/supress/suppress/
This commit is contained in:
parent
d07955d934
commit
73b5f8505b
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# $NetBSD: checkver,v 1.17 2021/09/17 02:12:16 christos Exp $
|
||||
# $NetBSD: checkver,v 1.18 2021/12/05 08:09:30 msaitoh Exp $
|
||||
#
|
||||
# Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -63,7 +63,7 @@
|
|||
# version greater than the source is found, checkver prints a
|
||||
# header and a list of the names of the offending installed libraries.
|
||||
#
|
||||
# The header may be supressed by passing "-q" as the first argument.
|
||||
# The header may be suppressed by passing "-q" as the first argument.
|
||||
#
|
||||
|
||||
TMP=/tmp/checkver.$$
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/ksh
|
||||
# $NetBSD: checkvers,v 1.8 2021/12/03 13:27:37 andvar Exp $
|
||||
# $NetBSD: checkvers,v 1.9 2021/12/05 08:09:30 msaitoh Exp $
|
||||
#
|
||||
# Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -119,7 +119,7 @@ fi
|
|||
QUIET=
|
||||
LIBNAME=
|
||||
|
||||
# Supress header.
|
||||
# Suppress header.
|
||||
if [ quiet -eq 1 ] ; then
|
||||
QUIET="-q"
|
||||
fi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strfmon.c,v 1.13 2017/11/27 23:54:28 maya Exp $ */
|
||||
/* $NetBSD: strfmon.c,v 1.14 2021/12/05 08:09:30 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
|
||||
|
@ -32,7 +32,7 @@
|
|||
#if 0
|
||||
__FBSDID("$FreeBSD: src/lib/libc/stdlib/strfmon.c,v 1.14 2003/03/20 08:18:55 ache Exp $");
|
||||
#else
|
||||
__RCSID("$NetBSD: strfmon.c,v 1.13 2017/11/27 23:54:28 maya Exp $");
|
||||
__RCSID("$NetBSD: strfmon.c,v 1.14 2021/12/05 08:09:30 msaitoh Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
|
@ -58,7 +58,7 @@ __RCSID("$NetBSD: strfmon.c,v 1.13 2017/11/27 23:54:28 maya Exp $");
|
|||
#define SIGN_POSN_USED 0x02 /* '+' or '(' usage flag */
|
||||
#define LOCALE_POSN 0x04 /* use locale defined +/- (default) */
|
||||
#define PARENTH_POSN 0x08 /* enclose negative amount in () */
|
||||
#define SUPRESS_CURR_SYMBOL 0x10 /* supress the currency from output */
|
||||
#define SUPPRESS_CURR_SYMBOL 0x10 /* suppress the currency from output */
|
||||
#define LEFT_JUSTIFY 0x20 /* left justify */
|
||||
#define USE_INTL_CURRENCY 0x40 /* use international currency symbol */
|
||||
#define IS_NEGATIVE 0x80 /* is argument value negative ? */
|
||||
|
@ -187,7 +187,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
|||
flags |= (SIGN_POSN_USED|PARENTH_POSN);
|
||||
continue;
|
||||
case '!': /* suppress currency symbol */
|
||||
flags |= SUPRESS_CURR_SYMBOL;
|
||||
flags |= SUPPRESS_CURR_SYMBOL;
|
||||
continue;
|
||||
case '-': /* alignment (left) */
|
||||
flags |= LEFT_JUSTIFY;
|
||||
|
@ -327,7 +327,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
|||
PRINT(' ');
|
||||
}
|
||||
|
||||
if (!(flags & SUPRESS_CURR_SYMBOL)) {
|
||||
if (!(flags & SUPPRESS_CURR_SYMBOL)) {
|
||||
PRINTS(currency_symbol);
|
||||
|
||||
if (sign_posn == 4) {
|
||||
|
@ -351,7 +351,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
|||
PRINTS(signstr);
|
||||
}
|
||||
|
||||
if (!(flags & SUPRESS_CURR_SYMBOL)) {
|
||||
if (!(flags & SUPPRESS_CURR_SYMBOL)) {
|
||||
if ((sign_posn == 3 && sep_by_space == 2)
|
||||
|| (sep_by_space == 1
|
||||
&& (sign_posn == 0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* $NetBSD: main.c,v 1.31 2016/06/11 07:01:25 dholland Exp $
|
||||
* $NetBSD: main.c,v 1.32 2021/12/05 08:09:30 msaitoh Exp $
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1996,1999 Ignatios Souvatzis
|
||||
|
@ -409,7 +409,7 @@ printf("Kernel load failed\n");
|
|||
if (marks[MARK_NSYM] && (*kvers == 0x4e73 || *kvers <= 1)) {
|
||||
nkcd = (int *)marks[MARK_SYM];
|
||||
esym = 0;
|
||||
printf("Supressing %ld kernel symbols\n", marks[MARK_NSYM]);
|
||||
printf("Suppressing %ld kernel symbols\n", marks[MARK_NSYM]);
|
||||
timelimit = 60;
|
||||
(void)getchar();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue