CVS commit: src/usr.bin/shar
Module Name:src Committed By: ginsbach Date: Sat Dec 31 03:44:18 UTC 2022 Modified Files: src/usr.bin/shar: shar.sh Log Message: shar: send usage message to standard error so it is not swallowd by redirection. >From FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/shar/shar.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/shar/shar.sh diff -u src/usr.bin/shar/shar.sh:1.5 src/usr.bin/shar/shar.sh:1.6 --- src/usr.bin/shar/shar.sh:1.5 Sat Dec 31 03:38:59 2022 +++ src/usr.bin/shar/shar.sh Sat Dec 31 03:44:18 2022 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: shar.sh,v 1.5 2022/12/31 03:38:59 ginsbach Exp $ +# $NetBSD: shar.sh,v 1.6 2022/12/31 03:44:18 ginsbach Exp $ # # Copyright (c) 1990, 1993 # The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ # if [ $# -eq 0 ]; then - echo 'usage: shar file ...' + echo 'usage: shar file ...' 1>&2 exit 1 fi
CVS commit: src/usr.bin/shar
Module Name:src Committed By: ginsbach Date: Sat Dec 31 03:44:18 UTC 2022 Modified Files: src/usr.bin/shar: shar.sh Log Message: shar: send usage message to standard error so it is not swallowd by redirection. >From FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/shar/shar.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/shar
Module Name:src Committed By: ginsbach Date: Sat Dec 31 03:38:59 UTC 2022 Modified Files: src/usr.bin/shar: shar.sh Log Message: better handle special characters or white space in file names fed to shar Code from Dave Sainty in PR bin/11107 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/shar/shar.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/shar
Module Name:src Committed By: ginsbach Date: Sat Dec 31 03:38:59 UTC 2022 Modified Files: src/usr.bin/shar: shar.sh Log Message: better handle special characters or white space in file names fed to shar Code from Dave Sainty in PR bin/11107 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/shar/shar.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/shar/shar.sh diff -u src/usr.bin/shar/shar.sh:1.4 src/usr.bin/shar/shar.sh:1.5 --- src/usr.bin/shar/shar.sh:1.4 Sat Dec 31 03:33:53 2022 +++ src/usr.bin/shar/shar.sh Sat Dec 31 03:38:59 2022 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: shar.sh,v 1.4 2022/12/31 03:33:53 ginsbach Exp $ +# $NetBSD: shar.sh,v 1.5 2022/12/31 03:38:59 ginsbach Exp $ # # Copyright (c) 1990, 1993 # The Regents of the University of California. All rights reserved. @@ -56,13 +56,13 @@ echo "#" for i do - if [ -d $i ]; then - echo "echo c - $i" - echo "mkdir -p $i > /dev/null 2>&1" + if [ -d "$i" ]; then + echo "echo c - '$i'" + echo "mkdir -p '$i' > /dev/null 2>&1" else - echo "echo x - $i" - echo "sed 's/^X//' >$i << 'END-of-$i'" - sed 's/^/X/' $i || exit 1 + echo "echo x - '$i'" + echo "sed 's/^X//' >'$i' << 'END-of-$i'" + sed 's/^/X/' "$i" || exit 1 echo "END-of-$i" fi done
CVS commit: src/usr.bin/shar
Module Name:src Committed By: ginsbach Date: Sat Dec 31 03:33:53 UTC 2022 Modified Files: src/usr.bin/shar: shar.sh Log Message: make sure a sed failure in the generated archive stops execution Code from Dave Sainty in PR bin/11107 (similar in FreeBSD) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/shar/shar.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/shar/shar.sh diff -u src/usr.bin/shar/shar.sh:1.3 src/usr.bin/shar/shar.sh:1.4 --- src/usr.bin/shar/shar.sh:1.3 Thu Jun 30 02:36:35 2005 +++ src/usr.bin/shar/shar.sh Sat Dec 31 03:33:53 2022 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: shar.sh,v 1.3 2005/06/30 02:36:35 perry Exp $ +# $NetBSD: shar.sh,v 1.4 2022/12/31 03:33:53 ginsbach Exp $ # # Copyright (c) 1990, 1993 # The Regents of the University of California. All rights reserved. @@ -62,7 +62,7 @@ do else echo "echo x - $i" echo "sed 's/^X//' >$i << 'END-of-$i'" - sed 's/^/X/' $i + sed 's/^/X/' $i || exit 1 echo "END-of-$i" fi done
CVS commit: src/usr.bin/shar
Module Name:src Committed By: ginsbach Date: Sat Dec 31 03:33:53 UTC 2022 Modified Files: src/usr.bin/shar: shar.sh Log Message: make sure a sed failure in the generated archive stops execution Code from Dave Sainty in PR bin/11107 (similar in FreeBSD) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/shar/shar.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/df
Module Name:src Committed By: ginsbach Date: Wed Jan 6 20:38:09 UTC 2021 Modified Files: src/bin/df: df.1 Log Message: df: bump man page date To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/bin/df/df.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/df/df.1 diff -u src/bin/df/df.1:1.55 src/bin/df/df.1:1.56 --- src/bin/df/df.1:1.55 Sun Jan 3 01:43:12 2021 +++ src/bin/df/df.1 Wed Jan 6 20:38:09 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: df.1,v 1.55 2021/01/03 01:43:12 ginsbach Exp $ +.\" $NetBSD: df.1,v 1.56 2021/01/06 20:38:09 ginsbach Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)df.1 8.2 (Berkeley) 1/13/92 .\" -.Dd September 23, 2019 +.Dd January 2, 2021 .Dt DF 1 .Os .Sh NAME
CVS commit: src/bin/df
Module Name:src Committed By: ginsbach Date: Wed Jan 6 20:38:09 UTC 2021 Modified Files: src/bin/df: df.1 Log Message: df: bump man page date To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/bin/df/df.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/df
Module Name:src Committed By: ginsbach Date: Sun Jan 3 01:43:13 UTC 2021 Modified Files: src/bin/df: df.1 df.c Log Message: df: add grand total option Add a grand total option, -c, similar to the du(1) -c option. Adapted from the same option (-c) in FreeBSD df(1). To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/bin/df/df.1 cvs rdiff -u -r1.97 -r1.98 src/bin/df/df.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/df/df.1 diff -u src/bin/df/df.1:1.54 src/bin/df/df.1:1.55 --- src/bin/df/df.1:1.54 Mon Sep 23 15:24:44 2019 +++ src/bin/df/df.1 Sun Jan 3 01:43:12 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: df.1,v 1.54 2019/09/23 15:24:44 christos Exp $ +.\" $NetBSD: df.1,v 1.55 2021/01/03 01:43:12 ginsbach Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .Nd display free disk space .Sh SYNOPSIS .Nm -.Op Fl aglnW +.Op Fl acglnW .Op Fl Ghkm | Fl ihkm | Fl Pk .Op Fl t Ar type .Op Ar file | Ar file_system ... @@ -72,6 +72,8 @@ Show all mount points, including those that were mounted with the .Dv MNT_IGNORE flag. +.It Fl c +Display a grand total for all shown mount points. .It Fl G Display all the fields of the structure(s) returned by .Xr statvfs 2 . Index: src/bin/df/df.c diff -u src/bin/df/df.c:1.97 src/bin/df/df.c:1.98 --- src/bin/df/df.c:1.97 Fri Aug 21 16:41:06 2020 +++ src/bin/df/df.c Sun Jan 3 01:43:12 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: df.c,v 1.97 2020/08/21 16:41:06 ryo Exp $ */ +/* $NetBSD: df.c,v 1.98 2021/01/03 01:43:12 ginsbach Exp $ */ /* * Copyright (c) 1980, 1990, 1993, 1994 @@ -45,7 +45,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94"; #else -__RCSID("$NetBSD: df.c,v 1.97 2020/08/21 16:41:06 ryo Exp $"); +__RCSID("$NetBSD: df.c,v 1.98 2021/01/03 01:43:12 ginsbach Exp $"); #endif #endif /* not lint */ @@ -67,6 +67,7 @@ __RCSID("$NetBSD: df.c,v 1.97 2020/08/21 #include static char *getmntpt(const char *); +static void addstat(struct statvfs *, const struct statvfs *); static void prtstat(const struct statvfs *, int); static int selected(const char *, size_t); static void maketypelist(char *); @@ -75,7 +76,7 @@ __dead static void usage(void); static void prthumanval(int64_t, int); static void prthuman(const struct statvfs *, int64_t, int64_t); -static int aflag, gflag, hflag, iflag, lflag, nflag, Pflag, Wflag; +static int aflag, cflag, gflag, hflag, iflag, lflag, nflag, Pflag, Wflag; static long usize; static char **typelist; @@ -87,7 +88,7 @@ int main(int argc, char *argv[]) { struct stat stbuf; - struct statvfs *mntbuf; + struct statvfs *mntbuf, totals; int ch, maxwidth, width; size_t i, mntcount; char *mntpt; @@ -95,11 +96,14 @@ main(int argc, char *argv[]) setprogname(argv[0]); (void)setlocale(LC_ALL, ""); - while ((ch = getopt(argc, argv, "aGghiklmnPt:W")) != -1) + while ((ch = getopt(argc, argv, "acGghiklmnPt:W")) != -1) switch (ch) { case 'a': aflag = 1; break; + case 'c': + cflag = 1; + break; case 'g': hflag = 0; usize = 1024 * 1024 * 1024; @@ -207,15 +211,28 @@ main(int argc, char *argv[]) } } + if (cflag) { + memset(, 0, sizeof(totals)); + totals.f_bsize = DEV_BSIZE; + strlcpy(totals.f_mntfromname, "total", + sizeof(totals.f_mntfromname)); + } + maxwidth = 0; for (i = 0; i < mntcount; i++) { width = (int)strlen(Wflag && mntbuf[i].f_mntfromlabel[0] ? mntbuf[i].f_mntfromlabel : mntbuf[i].f_mntfromname); if (width > maxwidth) maxwidth = width; + if (cflag) + addstat(, [i]); } for (i = 0; i < mntcount; i++) prtstat([i], maxwidth); + + if (cflag) + prtstat(, maxwidth); + return 0; } @@ -361,6 +378,22 @@ prthuman(const struct statvfs *sfsp, int (int64_t)(num) / (int64_t)((bs) / (fsbs)) : \ (int64_t)(num) * (int64_t)((fsbs) / (bs))) +static void +addstat(struct statvfs *totalfsp, const struct statvfs *sfsp) +{ + uint64_t frsize; + + frsize = sfsp->f_frsize / totalfsp->f_frsize; + totalfsp->f_blocks += sfsp->f_blocks * frsize; + totalfsp->f_bfree += sfsp->f_bfree * frsize; + totalfsp->f_bavail += sfsp->f_bavail * frsize; + totalfsp->f_bresvd += sfsp->f_bresvd * frsize; + totalfsp->f_files += sfsp->f_files; + totalfsp->f_ffree += sfsp->f_ffree; + totalfsp->f_favail += sfsp->f_favail; + totalfsp->f_fresvd += sfsp->f_fresvd; +} + /* * Print out status about a filesystem. */
CVS commit: src/bin/df
Module Name:src Committed By: ginsbach Date: Sun Jan 3 01:43:13 UTC 2021 Modified Files: src/bin/df: df.1 df.c Log Message: df: add grand total option Add a grand total option, -c, similar to the du(1) -c option. Adapted from the same option (-c) in FreeBSD df(1). To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/bin/df/df.1 cvs rdiff -u -r1.97 -r1.98 src/bin/df/df.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/nl
Module Name:src Committed By: ginsbach Date: Thu Dec 31 04:07:37 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: PR/55891 supress displaying separator when numbers supressed Fix based on patch provided by Kobayashi Takashi. This brings nl(1) further in to POSIX compliance. Verified behavior with classic SysV nl(1) and GNU nl(1). There could still be edge cases here not specified by POSIX. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/nl/nl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/nl
Module Name:src Committed By: ginsbach Date: Thu Dec 31 04:07:37 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: PR/55891 supress displaying separator when numbers supressed Fix based on patch provided by Kobayashi Takashi. This brings nl(1) further in to POSIX compliance. Verified behavior with classic SysV nl(1) and GNU nl(1). There could still be edge cases here not specified by POSIX. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/nl/nl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nl/nl.c diff -u src/usr.bin/nl/nl.c:1.14 src/usr.bin/nl/nl.c:1.15 --- src/usr.bin/nl/nl.c:1.14 Wed Dec 30 01:42:31 2020 +++ src/usr.bin/nl/nl.c Thu Dec 31 04:07:37 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: nl.c,v 1.14 2020/12/30 01:42:31 ginsbach Exp $ */ +/* $NetBSD: nl.c,v 1.15 2020/12/31 04:07:37 ginsbach Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ #ifndef lint __COPYRIGHT("@(#) Copyright (c) 1999\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: nl.c,v 1.14 2020/12/30 01:42:31 ginsbach Exp $"); +__RCSID("$NetBSD: nl.c,v 1.15 2020/12/31 04:07:37 ginsbach Exp $"); #endif #include @@ -332,13 +332,13 @@ filter(void) if (donumber) { consumed = snprintf(intbuffer, intbuffersize, format, width, line); - (void)printf("%s", - intbuffer + max(0, consumed - width)); + (void)printf("%s%s", + intbuffer + max(0, consumed - width), sep); line += incr; } else { - (void)printf("%*s", width, ""); + (void)printf("%*s%*s", width, "", (int)strlen(sep), ""); } - (void)printf("%s%s", sep, buffer); + (void)printf("%s", buffer); if (ferror(stdout)) err(EXIT_FAILURE, "output error");
CVS commit: src/usr.bin/nl
Module Name:src Committed By: ginsbach Date: Wed Dec 30 01:42:31 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: nl: fix -d delim parsing for POSIX POSIX specifies it is possible to specify a one delimiter character. Fix the logic so that both one and two character delimiters are accepted. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/nl/nl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nl/nl.c diff -u src/usr.bin/nl/nl.c:1.13 src/usr.bin/nl/nl.c:1.14 --- src/usr.bin/nl/nl.c:1.13 Tue Dec 22 17:50:55 2020 +++ src/usr.bin/nl/nl.c Wed Dec 30 01:42:31 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: nl.c,v 1.13 2020/12/22 17:50:55 ginsbach Exp $ */ +/* $NetBSD: nl.c,v 1.14 2020/12/30 01:42:31 ginsbach Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ #ifndef lint __COPYRIGHT("@(#) Copyright (c) 1999\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: nl.c,v 1.13 2020/12/22 17:50:55 ginsbach Exp $"); +__RCSID("$NetBSD: nl.c,v 1.14 2020/12/30 01:42:31 ginsbach Exp $"); #endif #include @@ -157,14 +157,15 @@ main(int argc, char *argv[]) case 'd': if (optarg[0] != '\0') delim[0] = optarg[0]; - if (optarg[1] != '\0') + if (optarg[1] != '\0') { delim[1] = optarg[1]; - /* at most two delimiter characters */ - if (optarg[2] != '\0') { -errx(EXIT_FAILURE, -"invalid delim argument -- %s", -optarg); -/* NOTREACHED */ +/* at most two delimiter characters */ +if (optarg[2] != '\0') { + errx(EXIT_FAILURE, + "invalid delim argument -- %s", + optarg); + /* NOTREACHED */ +} } break; case 'f':
CVS commit: src/usr.bin/nl
Module Name:src Committed By: ginsbach Date: Wed Dec 30 01:42:31 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: nl: fix -d delim parsing for POSIX POSIX specifies it is possible to specify a one delimiter character. Fix the logic so that both one and two character delimiters are accepted. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/nl/nl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/nl
Module Name:src Committed By: ginsbach Date: Tue Dec 22 17:50:56 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: nl(1): remove superfluous exit Remove exit(3) call missed when errors were converted to errx(3). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/nl/nl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nl/nl.c diff -u src/usr.bin/nl/nl.c:1.12 src/usr.bin/nl/nl.c:1.13 --- src/usr.bin/nl/nl.c:1.12 Tue Sep 17 20:00:50 2013 +++ src/usr.bin/nl/nl.c Tue Dec 22 17:50:55 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: nl.c,v 1.12 2013/09/17 20:00:50 wiz Exp $ */ +/* $NetBSD: nl.c,v 1.13 2020/12/22 17:50:55 ginsbach Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ #ifndef lint __COPYRIGHT("@(#) Copyright (c) 1999\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: nl.c,v 1.12 2013/09/17 20:00:50 wiz Exp $"); +__RCSID("$NetBSD: nl.c,v 1.13 2020/12/22 17:50:55 ginsbach Exp $"); #endif #include @@ -392,7 +392,6 @@ parse_numbering(const char *argstr, int errx(EXIT_FAILURE, "illegal %s line numbering type -- %s", numbering_properties[section].name, argstr); - exit(EXIT_FAILURE); } }
CVS commit: src/usr.bin/nl
Module Name:src Committed By: ginsbach Date: Tue Dec 22 17:50:56 UTC 2020 Modified Files: src/usr.bin/nl: nl.c Log Message: nl(1): remove superfluous exit Remove exit(3) call missed when errors were converted to errx(3). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/nl/nl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/time
Module Name:src Committed By: ginsbach Date: Mon Sep 21 15:31:54 UTC 2020 Modified Files: src/lib/libc/time: strptime.c Log Message: Correct range for ISO week conversion The %V conversion range for strptime(3) should match the strftime(3) conversion range. A valid ISO week is 1-53. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/lib/libc/time/strptime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/time/strptime.c diff -u src/lib/libc/time/strptime.c:1.62 src/lib/libc/time/strptime.c:1.63 --- src/lib/libc/time/strptime.c:1.62 Thu Aug 24 01:01:09 2017 +++ src/lib/libc/time/strptime.c Mon Sep 21 15:31:54 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $ */ +/* $NetBSD: strptime.c,v 1.63 2020/09/21 15:31:54 ginsbach Exp $ */ /*- * Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $"); +__RCSID("$NetBSD: strptime.c,v 1.63 2020/09/21 15:31:54 ginsbach Exp $"); #endif #include "namespace.h" @@ -424,7 +424,7 @@ literal: continue; case 'V': /* The ISO 8601:1988 week number as decimal */ - bp = conv_num(bp, , 0, 53); + bp = conv_num(bp, , 1, 53); continue; case 'Y': /* The year. */
CVS commit: src/lib/libc/time
Module Name:src Committed By: ginsbach Date: Mon Sep 21 15:31:54 UTC 2020 Modified Files: src/lib/libc/time: strptime.c Log Message: Correct range for ISO week conversion The %V conversion range for strptime(3) should match the strftime(3) conversion range. A valid ISO week is 1-53. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/lib/libc/time/strptime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Sat Sep 19 01:43:20 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: CDN, CRTP, FTTH To generate a diff of this commit: cvs rdiff -u -r1.311 -r1.312 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Sat Sep 19 01:43:20 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: CDN, CRTP, FTTH To generate a diff of this commit: cvs rdiff -u -r1.311 -r1.312 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.311 src/share/misc/acronyms.comp:1.312 --- src/share/misc/acronyms.comp:1.311 Sat Aug 22 07:24:40 2020 +++ src/share/misc/acronyms.comp Sat Sep 19 01:43:20 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.311 2020/08/22 07:24:40 nia Exp $ +$NetBSD: acronyms.comp,v 1.312 2020/09/19 01:43:20 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -226,6 +226,7 @@ CD compact disc CDDA compact disc digital audio CDL compiler description language CDMA code division multiple access +CDN content delivery network CDP Cisco Discovery Protocol CDRAM cache dynamic random access memory CER canonical encoding rules @@ -307,6 +308,7 @@ CRL carrier recovery loop CRLF carriage return line feed CSU C start up CRT cathode ray tube +CRTP curiously recurring template pattern CRUD create, read, update, and delete CS cable select CS chip select @@ -610,6 +612,7 @@ FTA fault tree analysis FTL flash translation layer FTP File Transfer Protocol FTPS File Transfer Protocol Secure +FTTH fiber to the home FUS fast user switching FWH firmware hub FWS folding white space
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 5 01:28:17 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: Add OWASP To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.303 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 5 01:28:17 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: Add OWASP To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.303 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.302 src/share/misc/acronyms.comp:1.303 --- src/share/misc/acronyms.comp:1.302 Wed Apr 29 22:17:38 2020 +++ src/share/misc/acronyms.comp Tue May 5 01:28:17 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.302 2020/04/29 22:17:38 rtr Exp $ +$NetBSD: acronyms.comp,v 1.303 2020/05/05 01:28:17 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -1117,6 +1117,7 @@ OTP one time password OTP open telecom platform OU organizational unit OUI organizationally unique identifier +OWASP Open Web Application Security Project OWL Web Ontology Language P2P PCI to PCI P2P peer to peer
CVS commit: src/usr.bin/locale
Module Name:src Committed By: ginsbach Date: Tue Apr 28 22:29:32 UTC 2020 Modified Files: src/usr.bin/locale: locale.c Log Message: Fix spelling errors. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/locale/locale.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/locale
Module Name:src Committed By: ginsbach Date: Tue Apr 28 22:29:32 UTC 2020 Modified Files: src/usr.bin/locale: locale.c Log Message: Fix spelling errors. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/locale/locale.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/locale/locale.c diff -u src/usr.bin/locale/locale.c:1.8 src/usr.bin/locale/locale.c:1.9 --- src/usr.bin/locale/locale.c:1.8 Fri Jan 20 16:31:30 2012 +++ src/usr.bin/locale/locale.c Tue Apr 28 22:29:32 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: locale.c,v 1.8 2012/01/20 16:31:30 joerg Exp $ */ +/* $NetBSD: locale.c,v 1.9 2020/04/28 22:29:32 ginsbach Exp $ */ /*- * Copyright (c) 2002, 2003 Alexey Zelkin @@ -30,7 +30,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: locale.c,v 1.8 2012/01/20 16:31:30 joerg Exp $"); +__RCSID("$NetBSD: locale.c,v 1.9 2020/04/28 22:29:32 ginsbach Exp $"); #endif /* LIBC_SCCS and not lint */ /* @@ -251,7 +251,7 @@ main(int argc, char *argv[]) /* validate arguments */ if (all_locales && all_charmaps) usage(); - if ((all_locales || all_charmaps) && argc > 0) + if ((all_locales || all_charmaps) && argc > 0) usage(); if ((all_locales || all_charmaps) && (prt_categories || prt_keywords)) usage(); @@ -335,8 +335,8 @@ scmp(const void *s1, const void *s2) /* * Output information about all available charmaps * - * XXX this function is doing a task in hackish way, i.e. by scaning - * list of locales, spliting their codeset part and building list of + * XXX this function is doing a task in hackish way, i.e. by scanning + * list of locales, splitting their codeset part and building list of * them. */ void @@ -423,7 +423,7 @@ init_locales_list(void) /* make sure that 'POSIX' and 'C' locales are present in the list. * POSIX 1003.1-2001 requires presence of 'POSIX' name only here, but - * we also list 'C' for constistency + * we also list 'C' for consistency */ if (sl_find(locales, "POSIX") == NULL) sl_add(locales, "POSIX"); @@ -498,10 +498,10 @@ showlocale(void) && strcmp(lang, vval)) { /* * Appropriate environment variable set, its value - * is valid and not overriden by LC_ALL + * is valid and not overridden by LC_ALL * * XXX: possible side effect: if both LANG and - * overriden environment variable are set into same + * overridden environment variable are set into same * value, then it'll be assumed as 'implied' */ printf("%s=\"%s\"\n", lcinfo[i].name, vval);
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Wed Apr 22 15:03:46 UTC 2020 Modified Files: src/share/misc: acronyms Log Message: Add RFI, RFP To generate a diff of this commit: cvs rdiff -u -r1.298 -r1.299 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Wed Apr 22 15:03:46 UTC 2020 Modified Files: src/share/misc: acronyms Log Message: Add RFI, RFP To generate a diff of this commit: cvs rdiff -u -r1.298 -r1.299 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.298 src/share/misc/acronyms:1.299 --- src/share/misc/acronyms:1.298 Thu Mar 26 18:25:32 2020 +++ src/share/misc/acronyms Wed Apr 22 15:03:46 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.298 2020/03/26 18:25:32 leot Exp $ +$NetBSD: acronyms,v 1.299 2020/04/22 15:03:46 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -472,6 +472,8 @@ RCD residual current device RFC request for comments RFD request for discussion RFE request for enhancements +RFI request for information +RFP request for proposal RIF reduction in force RIP rest in peace RL real life
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Thu Dec 6 14:22:48 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add BUAG, DCIM (2x), and SDP To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.218 src/share/misc/acronyms.comp:1.219 --- src/share/misc/acronyms.comp:1.218 Wed Dec 5 14:44:54 2018 +++ src/share/misc/acronyms.comp Thu Dec 6 14:22:48 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.218 2018/12/05 14:44:54 sevan Exp $ +$NetBSD: acronyms.comp,v 1.219 2018/12/06 14:22:48 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -179,6 +179,7 @@ BTS bit test [and] set BTS bug tracking system BW bandwidth BWM block-write mode +BUAG big ugly ASCII graphic CA certificate authority CAD computer-aided design CAM computer assisted manufacturing @@ -319,6 +320,8 @@ DCC direct cable connect DCD data carrier detect DCE data control equipment DCE distributed computing environment +DCIM data center infrastructure management +DCIM digital camera images DCL Digital Command Language DCOM distributed component object model DCOP Desktop COmmunication Protocol @@ -1263,6 +1266,7 @@ SDL Simple Declarative Language SDL Simple Direct-media Layer SDLC {software,system,systems} development life cycle SDN software defined networking +SDP Session Description Protocol SDRAM synchronous dynamic random access memory SDS software defined storage SDT syntax-directed translation
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Thu Dec 6 14:22:48 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add BUAG, DCIM (2x), and SDP To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Wed Sep 19 18:53:25 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add AMDD, ASF, MSC, RMCP, SAML, STOMP, and YAML Hyphenate TDD description (grammar) To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.214 src/share/misc/acronyms.comp:1.215 --- src/share/misc/acronyms.comp:1.214 Mon Aug 13 22:22:59 2018 +++ src/share/misc/acronyms.comp Wed Sep 19 18:53:25 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.214 2018/08/13 22:22:59 alnsn Exp $ +$NetBSD: acronyms.comp,v 1.215 2018/09/19 18:53:25 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -45,6 +45,7 @@ AM access method AM alignment mask AM amplitude modulation AMD Advanced Micro Devices Inc +AMDD Agile model-driven development AMI alternate mark inversion AMP asymmetric multiprocessing AMQP advanced message queuing protocol @@ -83,6 +84,7 @@ ASC advanced smart cache ASCII American Standard Code for Information Interchange ASD agile software development ASE advanced software environment +ASF alert standard format ASIC application-specific integrated circuit ASK amplitude shift keying ASLR address space layout randomization @@ -770,6 +772,7 @@ LSB Linux standards base LSB least significant {bit,byte} LSI large scale integration LSL load segment limit +LSM log structured merge LSN Large Scale NAT LSN log sequence number LSR label switch router @@ -871,6 +874,7 @@ MRU most recently used MS Microsoft MSAN Memory Sanitizer MSB most significant {bit,byte} +MSC message sequence chart MSE mean square error MSF minutes seconds frames MSI message signaled interrupt @@ -1169,6 +1173,7 @@ RLE run length encoding RLL run length limited RLO right-to-left override RM read miss +RMCP Remote Management Control Protocol RMI remote method invocation RMO Relaxed Memory Ordering RMPM rapid memory power management @@ -1216,6 +1221,7 @@ SAD security association database SAL {service,system} abstraction layer SAM serial access memory SAM sum addressed memory +SAML security assertion markup language SAN storage area network SAP service access point SAPIC streamlined advanced programmable interrupt controller @@ -1341,6 +1347,7 @@ SSL secure sockets layer SSP stack smashing protection STC software thermal control STD state transition diagram +STOMP Streaming Text Oriented Messaging Protocol STP Spanning Tree Protocol STP shielded twisted pair SUS Single Unix Specification @@ -1370,7 +1377,7 @@ TCL tool command language TCP Transmission Control Protocol TCQ tagged command queueing TDC time [to] digital converter -TDD test driven development +TDD test-driven development TDD time division duplex TDM time division multiplexing TDMA time division multiple access @@ -1556,6 +1563,7 @@ XSS cross site scripting XT extended technology XUL XML user interface language YACC yet another compiler compiler +YAML YAML ain't markup language YANG yet another next generation YAWPFAPR you are welcome; please file a problem report YP Yellow Pages
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Wed Sep 19 18:53:25 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add AMDD, ASF, MSC, RMCP, SAML, STOMP, and YAML Hyphenate TDD description (grammar) To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Wed Sep 19 18:50:40 UTC 2018 Modified Files: src/share/misc: acronyms Log Message: Add BDFL and SJW To generate a diff of this commit: cvs rdiff -u -r1.274 -r1.275 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.274 src/share/misc/acronyms:1.275 --- src/share/misc/acronyms:1.274 Fri May 25 00:31:07 2018 +++ src/share/misc/acronyms Wed Sep 19 18:50:39 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.274 2018/05/25 00:31:07 riastradh Exp $ +$NetBSD: acronyms,v 1.275 2018/09/19 18:50:39 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -62,6 +62,7 @@ BBT be back tomorrow BCNU be seeing you BCNUL8R be seeing you later BCP best current practice +BDFL benevolent dictator for life BF best friend BF boyfriend BFF best {friend,friends} forever @@ -473,6 +474,7 @@ SFAICT so far as I can tell SHID slaps head in disgust SIMCA sitting in my chair amused SITD still in the dark +SJW social justice warrior SMAP Soil Moisture Active Passive SMH shaking my head SMLSFB so many losers, so few bullets
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Wed Sep 19 18:50:40 UTC 2018 Modified Files: src/share/misc: acronyms Log Message: Add BDFL and SJW To generate a diff of this commit: cvs rdiff -u -r1.274 -r1.275 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 29 02:53:24 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add ABRT, AER, BERT, CMC, COS, CPE, CPER, CRUD, EDAC, EINJ, ERST, ESB, GHES, GIC, HATEOAS, HECI, HEST, IPMB, IPMI, ITP, JSON, KCS, MD-SAL, MQTT, (another) MSR, OAM, PCE, (another) SAL, SAX, SDEI, SEA, SLAAC, SMB, SNIA, SVI, TSDB, (another) VID, WAMP, YANG To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.198 src/share/misc/acronyms.comp:1.199 --- src/share/misc/acronyms.comp:1.198 Tue May 29 02:42:34 2018 +++ src/share/misc/acronyms.comp Tue May 29 02:53:24 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.198 2018/05/29 02:42:34 ginsbach Exp $ +$NetBSD: acronyms.comp,v 1.199 2018/05/29 02:53:24 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -6,6 +6,7 @@ AAA authentication, authorization, [and] AAT average access time ABI application binary interface ABR available bit rate +ABRT automatic bug reporting tool AC alternating current ACI adjacent channel interferer ACID atomicity, consistency, isolation, durability @@ -26,6 +27,7 @@ ADPCM adaptive differential pulse code m ADS alternate data stream ADSL asymmetric digital subscriber line ADT abstract data type +AER advanced error reporting AES Advanced Encryption Standard AFS Andrew File System AGC automatic gain control @@ -54,6 +56,7 @@ AOS add or subtract AP access point AP application processor API application programming interface +APEI ACPI platform error interface APIC advanced programmable interrupt controller APIPA automatic private IP addressing APM advanced power management @@ -109,6 +112,7 @@ BDUF big design up front BEDO burst extended data output BER basic encoding rules BER bit error {rate,ratio} +BERT boot error record table BFD binary {file,format} descriptor BFKL big fscking kernel lock BFS breadth-first search @@ -219,6 +223,8 @@ CLUT color look-up table CLV constant linear velocity CM configuration management CMA concert multithread architecture +CMC chassis management controller +CMC corrected machine check CMS {configuration,content,course} management system CMI control {management,method} interface CMOS complementary metal-oxide-semiconductor @@ -234,10 +240,13 @@ COFF common object file format COM component object model COMA cache-only memory architecture CORBA common object request broker architecture +COS class of service COW copy-on-write CP continuous pilot CPB core performance boost CPE common phase error +CPE common platform enumeration +CPER common platform error record CPG clock pulse generator CPL current privilege level CPLD complex programmable logic device @@ -250,6 +259,7 @@ CRC cyclic redundancy check CRL carrier recovery loop CRLF carriage return line feed CRT cathode ray tube +CRUD create, read, update, and delete CS cable select CS chip select CS code segment @@ -409,6 +419,7 @@ ECN explicit congestion notification ECP enhanced capability port ECS enhanced chip set ECS extended configuration space +EDAC error detection and correction EDAT enhanced dynamic acceleration technology EdDSA Edwards curve digital signature algorithm EDGE explicit data graph execution @@ -425,6 +436,7 @@ EGP exterior gateway protocol EH extension header EIDE enhanced IDE EISA extended industry standard architecture +EINJ error injection table ELF executable and linking format ELS entry level system EMI electro-magnetic interference @@ -441,6 +453,8 @@ EPROM erasable programmable read only me ERD emergency recovery disk ERD entity relationship diagram ERE extended regular expression +ERST error record serialization table +ESB enterprise service bus ESDRAM enhanced synchronous dynamic random access memory ESS electronic switching system ESS extended service set @@ -511,6 +525,8 @@ GEM graphics environment manager GEM graphics execution manager GENA general event notification architecture GHC Glasgow Haskell compiler +GHES generic hardware error source +GIC generic interrupt controller GID group identifier GIF graphics interchange format GMCH graphics and memory controller hub @@ -534,6 +550,7 @@ GVFSgit virtual file system HA high availability HAL hardware abstraction layer HAT hashed array tree +HATEOAS hypermedia as the engine of application state HBA host bus adapter HCF halt and catch fire HCI host controller interface @@ -544,6 +561,8 @@ HDD hard disk drive HDL hardware description language HDMI High-Definition Multimedia Interface HDTV high-definition television +HECI host embedded controller interface +HEST hardware error source table HF high frequency HFM highest frequency mode HID
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 29 02:53:24 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add ABRT, AER, BERT, CMC, COS, CPE, CPER, CRUD, EDAC, EINJ, ERST, ESB, GHES, GIC, HATEOAS, HECI, HEST, IPMB, IPMI, ITP, JSON, KCS, MD-SAL, MQTT, (another) MSR, OAM, PCE, (another) SAL, SAX, SDEI, SEA, SLAAC, SMB, SNIA, SVI, TSDB, (another) VID, WAMP, YANG To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 29 02:42:34 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Fix spelling/typos To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 29 02:42:34 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Fix spelling/typos To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.197 src/share/misc/acronyms.comp:1.198 --- src/share/misc/acronyms.comp:1.197 Sun May 13 18:52:00 2018 +++ src/share/misc/acronyms.comp Tue May 29 02:42:34 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.197 2018/05/13 18:52:00 sevan Exp $ +$NetBSD: acronyms.comp,v 1.198 2018/05/29 02:42:34 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -13,7 +13,7 @@ ACK Amsterdam compiler kit ACK acknowledgement ACL access control list ACL active current loop -ACP auxillary control {process,program} +ACP auxiliary control {process,program} ACPI advanced configuration and power interface ACS access control set ACU automatic calling unit @@ -76,7 +76,7 @@ ASCII American Standard Code for Informa ASD agile software development ASE advanced software environment ASIC application-specific integrated circuit -ASK amplitude shif keying +ASK amplitude shift keying ASLR address space layout randomization ASN autonomous system number ASPM active state power management @@ -181,7 +181,7 @@ CAU control access unit CAV constant angular velocity CBC cipher block chaining CBR constant bit rate -CC carbon coby +CC carbon copy CCD charge coupled device CCI co-channel interferer CCNUMA cache-coherent non-uniform memory access
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 22 02:46:19 UTC 2018 Modified Files: src/share/misc: acronyms Log Message: Fix spelling To generate a diff of this commit: cvs rdiff -u -r1.271 -r1.272 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.271 src/share/misc/acronyms:1.272 --- src/share/misc/acronyms:1.271 Sun May 13 16:53:04 2018 +++ src/share/misc/acronyms Tue May 22 02:46:19 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.271 2018/05/13 16:53:04 maya Exp $ +$NetBSD: acronyms,v 1.272 2018/05/22 02:46:19 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -206,7 +206,7 @@ GTSY {glad,good} to see you GWS get well soon H8 hate HAND have a nice day -HE how embarrasing +HE how embarrassing HF have fun HHIS hanging head in shame HHOS ha ha, only serious @@ -508,7 +508,7 @@ THNX thanks THX thanks TIA thanks in advance TIAVP this is a volunteer project -TIC tonque in cheek +TIC tongue in cheek TIL today I learned TINC there is no cabal TINLA this is not legal advice
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 22 02:46:19 UTC 2018 Modified Files: src/share/misc: acronyms Log Message: Fix spelling To generate a diff of this commit: cvs rdiff -u -r1.271 -r1.272 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 22 02:54:32 UTC 2018 Modified Files: src/share/misc: acronyms Log Message: Add M, ROM, and SWOT To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue May 22 02:54:32 UTC 2018 Modified Files: src/share/misc: acronyms Log Message: Add M, ROM, and SWOT To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.272 src/share/misc/acronyms:1.273 --- src/share/misc/acronyms:1.272 Tue May 22 02:46:19 2018 +++ src/share/misc/acronyms Tue May 22 02:54:32 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.272 2018/05/22 02:46:19 ginsbach Exp $ +$NetBSD: acronyms,v 1.273 2018/05/22 02:54:32 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -326,6 +326,7 @@ LOL laughing out loud LP long playing [record] LTNS long time no see LWYL laugh with you later +M management & operations M8 mate MAD mutually assured destruction MBA master of business administration @@ -453,6 +454,7 @@ RLC rod length check RMS Richard Matthew Stallman ROFL rolling on floor laughing ROFLMAO rolling on floor laughing my ass off +ROM rough order of magnitude ROI return on investment ROTFL rolling on the floor laughing RP responsible person @@ -490,6 +492,7 @@ SUX2BU sucks to be you SWAG silly, wild-assed guess SWAHBI silly, wild-assed hare-brained idea SWMBO she who must be obeyed +SWOT strength, weaknesses, opportunities, threats SYS see you soon TA teaching assistant TANSTAAFL there ain't no such thing as a free lunch
CVS commit: src/usr.sbin/ypbind
Module Name:src Committed By: ginsbach Date: Thu Mar 15 02:25:31 UTC 2018 Modified Files: src/usr.sbin/ypbind: ypbind.c Log Message: Initialize ypbind_resp before first possible error return condition. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/usr.sbin/ypbind/ypbind.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/ypbind
Module Name:src Committed By: ginsbach Date: Thu Mar 15 02:25:31 UTC 2018 Modified Files: src/usr.sbin/ypbind: ypbind.c Log Message: Initialize ypbind_resp before first possible error return condition. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/usr.sbin/ypbind/ypbind.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/ypbind/ypbind.c diff -u src/usr.sbin/ypbind/ypbind.c:1.99 src/usr.sbin/ypbind/ypbind.c:1.100 --- src/usr.sbin/ypbind/ypbind.c:1.99 Wed Aug 9 01:56:42 2017 +++ src/usr.sbin/ypbind/ypbind.c Thu Mar 15 02:25:31 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: ypbind.c,v 1.99 2017/08/09 01:56:42 ginsbach Exp $ */ +/* $NetBSD: ypbind.c,v 1.100 2018/03/15 02:25:31 ginsbach Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt@@ -28,7 +28,7 @@ #include #ifndef LINT -__RCSID("$NetBSD: ypbind.c,v 1.99 2017/08/09 01:56:42 ginsbach Exp $"); +__RCSID("$NetBSD: ypbind.c,v 1.100 2018/03/15 02:25:31 ginsbach Exp $"); #endif #include @@ -710,15 +710,15 @@ ypbindproc_domain_2(SVCXPRT *transp, voi DPRINTF("ypbindproc_domain_2 %s\n", arg); + (void)memset(, 0, sizeof res); + res.ypbind_status = YPBIND_FAIL_VAL; + /* Reject invalid domains. */ if (_yp_invalid_domain(arg)) { res.ypbind_respbody.ypbind_error = YPBIND_ERR_NOSERV; return } - (void)memset(, 0, sizeof res); - res.ypbind_status = YPBIND_FAIL_VAL; - /* * Look for the domain. XXX: Behave erratically if we have * more than 100 domains. The intent here is to avoid allowing
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Thu Mar 1 19:09:33 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add SMEP and additional CSDL and LTO acronyms To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.192 src/share/misc/acronyms.comp:1.193 --- src/share/misc/acronyms.comp:1.192 Mon Feb 19 20:49:01 2018 +++ src/share/misc/acronyms.comp Thu Mar 1 19:09:33 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.192 2018/02/19 20:49:01 ginsbach Exp $ +$NetBSD: acronyms.comp,v 1.193 2018/03/01 19:09:33 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -251,7 +251,7 @@ CS cable select CS chip select CS code segment CS computer science -CSDL common schema definition language +CSDL {common,conceptual} schema definition language CSI channel state information CSI common system interface CSMA carrier sense multiple access @@ -723,6 +723,7 @@ LSN Large Scale NAT LSN log sequence number LSR label switch router LTCC low temperature co-fired ceramic +LTO linear tape-open LTO link time optimization LTR left to right LTR load task register @@ -1205,6 +1206,7 @@ SMAP supervisor mode access prevention SMART self-monitoring analysis and reporting technology SMBIOS System Management BIOS SMC system management controller +SMEP supervisor mode execution protection SMF single mode fiber SMI structure of management information SMI system management interrupt
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Thu Mar 1 19:09:33 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add SMEP and additional CSDL and LTO acronyms To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Mon Feb 19 20:49:01 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add ANR and another ARC acronyms To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.191 src/share/misc/acronyms.comp:1.192 --- src/share/misc/acronyms.comp:1.191 Mon Feb 12 20:43:17 2018 +++ src/share/misc/acronyms.comp Mon Feb 19 20:49:01 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.191 2018/02/12 20:43:17 ginsbach Exp $ +$NetBSD: acronyms.comp,v 1.192 2018/02/19 20:49:01 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -46,6 +46,7 @@ AMP asymmetric multiprocessing AMQP advanced message queuing protocol AMT active management technology AN Arabic number +ANR application not responding ANSI American National Standards Institute AO analog output AOL Alert-on-LAN @@ -59,6 +60,7 @@ APT advanced persistent threat AQM active queue management ARAT always running APIC timer ARC adaptive replacement cache +ARC automatic reference counting ARM Advanced RISC Machines ARP Address Resolution Protocol ARPA Advanced Research Projects Agency
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Mon Feb 19 20:49:01 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add ANR and another ARC acronyms To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Mon Feb 12 20:43:17 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add CSDL To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Mon Feb 12 20:43:17 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add CSDL To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.190 src/share/misc/acronyms.comp:1.191 --- src/share/misc/acronyms.comp:1.190 Tue Jan 30 22:45:12 2018 +++ src/share/misc/acronyms.comp Mon Feb 12 20:43:17 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.190 2018/01/30 22:45:12 ginsbach Exp $ +$NetBSD: acronyms.comp,v 1.191 2018/02/12 20:43:17 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -249,6 +249,7 @@ CS cable select CS chip select CS code segment CS computer science +CSDL common schema definition language CSI channel state information CSI common system interface CSMA carrier sense multiple access
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue Jan 30 22:45:12 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add more "* as a service" and "software defined *" acronyms To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Tue Jan 30 22:45:12 UTC 2018 Modified Files: src/share/misc: acronyms.comp Log Message: Add more "* as a service" and "software defined *" acronyms To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.189 src/share/misc/acronyms.comp:1.190 --- src/share/misc/acronyms.comp:1.189 Sun Jan 21 14:01:55 2018 +++ src/share/misc/acronyms.comp Tue Jan 30 22:45:12 2018 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.189 2018/01/21 14:01:55 alnsn Exp $ +$NetBSD: acronyms.comp,v 1.190 2018/01/30 22:45:12 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -351,6 +351,7 @@ DPI dots per inch DPL descriptor privilege level DPS Display PostScript DPST display power savings technology +DRAAS disaster recovery as a service DRAM dynamic random access memory DRBG deterministic random bit generator DRI direct rendering infrastructure @@ -560,6 +561,7 @@ HVM hardware virtual machine HZ Hertz I2O intelligent input/output IA information assurance +IAAS infrastructure as a service IANA Internet Assigned Numbers Authority IBC iterated block cipher IBM International Business Machines @@ -840,6 +842,7 @@ NFA nondeterministic finite automaton NFC near-field communication NFCI no functional change intended NFS network file system +NFV network function virtualization NIA next instruction address NIC network information center NIC network interface card @@ -913,6 +916,7 @@ P2P PCI to PCI P2P peer to peer PA phase accumulator PA physical address +PAAS platform as a service PAC phase-amplitude converter PAE physical address extension PAL phase alternating line @@ -1160,7 +1164,9 @@ SDK software development kit SDL Simple Declarative Language SDL Simple Direct-media Layer SDLC {software,system,systems} development life cycle +SDN software defined networking SDRAM synchronous dynamic random access memory +SDS software defined storage SDT syntax-directed translation SEGV segmentation violation SEO search engine optimization
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Dec 22 02:36:46 UTC 2017 Modified Files: src/share/misc: acronyms.comp Log Message: Add board support package - BSP To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.186 src/share/misc/acronyms.comp:1.187 --- src/share/misc/acronyms.comp:1.186 Thu Sep 21 00:40:10 2017 +++ src/share/misc/acronyms.comp Fri Dec 22 02:36:46 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.186 2017/09/21 00:40:10 ginsbach Exp $ +$NetBSD: acronyms.comp,v 1.187 2017/12/22 02:36:46 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -147,6 +147,7 @@ BSD Berkeley Software Distribution BSF bit scan forward BSOD blue screen of death BSP binary space partition +BSP board support package BSP bootstrap processor BSR bit scan reverse BSS basic service set
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Dec 22 02:36:46 UTC 2017 Modified Files: src/share/misc: acronyms.comp Log Message: Add board support package - BSP To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Sat Dec 2 01:36:38 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: Fix spelling mistake -- no el -- for previous To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.263 src/share/misc/acronyms:1.264 --- src/share/misc/acronyms:1.263 Fri Dec 1 17:19:01 2017 +++ src/share/misc/acronyms Sat Dec 2 01:36:38 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.263 2017/12/01 17:19:01 ginsbach Exp $ +$NetBSD: acronyms,v 1.264 2017/12/02 01:36:38 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -123,7 +123,7 @@ DTRT do the right thing DTWT do the wrong thing DWIM do what I mean DYK do you know? -EA eary adopter +EA early adopter ECR electronic cash register EDS eternal downward spiral EFT electronic funds transfer
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Sat Dec 2 01:36:38 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: Fix spelling mistake -- no el -- for previous To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Dec 1 17:19:01 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: PR misc/52776: Nikolai Lifanov: add definitions for EA, MVP To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.262 src/share/misc/acronyms:1.263 --- src/share/misc/acronyms:1.262 Wed Nov 1 15:34:28 2017 +++ src/share/misc/acronyms Fri Dec 1 17:19:01 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.262 2017/11/01 15:34:28 khorben Exp $ +$NetBSD: acronyms,v 1.263 2017/12/01 17:19:01 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -123,6 +123,7 @@ DTRT do the right thing DTWT do the wrong thing DWIM do what I mean DYK do you know? +EA eary adopter ECR electronic cash register EDS eternal downward spiral EFT electronic funds transfer @@ -334,6 +335,8 @@ MOTAS member of the appropriate sex MOTOS member of the opposite sex MOTSS member of the same sex MTF more to follow +MVP minimum viable product +MVP most valuable player MYOB mind your own business N/A not {applicable,available} N/M never mind
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Dec 1 17:19:01 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: PR misc/52776: Nikolai Lifanov: add definitions for EA, MVP To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/seq
Module Name:src Committed By: ginsbach Date: Sun Oct 29 01:28:46 UTC 2017 Modified Files: src/usr.bin/seq: seq.c Log Message: The sign is optional in an exponent Treat numbers after [Ee] as a positive number rather than an invalid numeric sequence. (Taken from FreeBSD but done differently.) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/seq/seq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/seq
Module Name:src Committed By: ginsbach Date: Sun Oct 29 01:28:46 UTC 2017 Modified Files: src/usr.bin/seq: seq.c Log Message: The sign is optional in an exponent Treat numbers after [Ee] as a positive number rather than an invalid numeric sequence. (Taken from FreeBSD but done differently.) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/seq/seq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/seq/seq.c diff -u src/usr.bin/seq/seq.c:1.9 src/usr.bin/seq/seq.c:1.10 --- src/usr.bin/seq/seq.c:1.9 Sun Oct 29 00:02:23 2017 +++ src/usr.bin/seq/seq.c Sun Oct 29 01:28:46 2017 @@ -31,7 +31,7 @@ #ifndef lint __COPYRIGHT("@(#) Copyright (c) 2005\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: seq.c,v 1.9 2017/10/29 00:02:23 ginsbach Exp $"); +__RCSID("$NetBSD: seq.c,v 1.10 2017/10/29 01:28:46 ginsbach Exp $"); #endif /* not lint */ #include @@ -211,10 +211,10 @@ numeric(const char *s) } if (ISEXP((unsigned char)*s)) { s++; -if (ISSIGN((unsigned char)*s)) { +/* optional sign */ +if (ISSIGN((unsigned char)*s)) s++; - continue; -} +continue; } break; }
CVS commit: src/usr.bin/seq
Module Name:src Committed By: ginsbach Date: Sun Oct 29 00:02:23 UTC 2017 Modified Files: src/usr.bin/seq: seq.c Log Message: Fix typos (from FreeBSD) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/seq/seq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/seq/seq.c diff -u src/usr.bin/seq/seq.c:1.8 src/usr.bin/seq/seq.c:1.9 --- src/usr.bin/seq/seq.c:1.8 Mon Sep 5 00:40:29 2016 +++ src/usr.bin/seq/seq.c Sun Oct 29 00:02:23 2017 @@ -31,7 +31,7 @@ #ifndef lint __COPYRIGHT("@(#) Copyright (c) 2005\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: seq.c,v 1.8 2016/09/05 00:40:29 sevan Exp $"); +__RCSID("$NetBSD: seq.c,v 1.9 2017/10/29 00:02:23 ginsbach Exp $"); #endif /* not lint */ #include @@ -349,7 +349,7 @@ unescape(char *orig) *orig = c; --cp; continue; - case 'x': /* hexidecimal number */ + case 'x': /* hexadecimal number */ cp++; /* skip 'x' */ for (i = 0, c = 0; isxdigit((unsigned char)*cp) && i < 2; @@ -422,7 +422,7 @@ decimal_places(const char *number) /* * generate_format - create a format string * - * XXX to be bug for bug compatable with Plan9 and GNU return "%g" + * XXX to be bug for bug compatible with Plan9 and GNU return "%g" * when "%g" prints as "%e" (this way no width adjustments are made) */ char *
CVS commit: src/usr.bin/seq
Module Name:src Committed By: ginsbach Date: Sun Oct 29 00:02:23 UTC 2017 Modified Files: src/usr.bin/seq: seq.c Log Message: Fix typos (from FreeBSD) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/seq/seq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Thu Sep 21 00:40:10 UTC 2017 Modified Files: src/share/misc: acronyms.comp Log Message: Add SDLC - software/system(s) development life cycle To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.185 src/share/misc/acronyms.comp:1.186 --- src/share/misc/acronyms.comp:1.185 Sun Sep 17 21:55:07 2017 +++ src/share/misc/acronyms.comp Thu Sep 21 00:40:10 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.185 2017/09/17 21:55:07 rtr Exp $ +$NetBSD: acronyms.comp,v 1.186 2017/09/21 00:40:10 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -1157,6 +1157,7 @@ SDI symbol deinterleave SDK software development kit SDL Simple Declarative Language SDL Simple Direct-media Layer +SDLC {software,system,systems} development life cycle SDRAM synchronous dynamic random access memory SDT syntax-directed translation SEGV segmentation violation
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Thu Sep 21 00:40:10 UTC 2017 Modified Files: src/share/misc: acronyms.comp Log Message: Add SDLC - software/system(s) development life cycle To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Sun Sep 17 00:54:16 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: Add IFF and IFTTT To generate a diff of this commit: cvs rdiff -u -r1.258 -r1.259 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Sun Sep 17 00:54:16 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: Add IFF and IFTTT To generate a diff of this commit: cvs rdiff -u -r1.258 -r1.259 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.258 src/share/misc/acronyms:1.259 --- src/share/misc/acronyms:1.258 Fri Sep 15 23:08:11 2017 +++ src/share/misc/acronyms Sun Sep 17 00:54:16 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.258 2017/09/15 23:08:11 ginsbach Exp $ +$NetBSD: acronyms,v 1.259 2017/09/17 00:54:16 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -232,6 +232,8 @@ IDK I don't know IDRC I don't really care IDTS I don't think so IDTT I drink to that +IFF if and only if +IFTTT if this then that IHBW I have been wrong IIANM if I am not mistaken IIRC if I {recall,remember} correctly
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Sep 15 23:08:12 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: PR misc/52542: Nikolai Lifanov: add definitions for HME, DME, DMEPOS To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.257 src/share/misc/acronyms:1.258 --- src/share/misc/acronyms:1.257 Tue Aug 22 02:36:48 2017 +++ src/share/misc/acronyms Fri Sep 15 23:08:11 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.257 2017/08/22 02:36:48 pgoyette Exp $ +$NetBSD: acronyms,v 1.258 2017/09/15 23:08:11 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -107,6 +107,8 @@ DIAFYO did I ask for your opinion? DIY do it yourself DKDC don't know, don't care DM dungeon master +DME durable medical equipment +DMEPOS durable medical equipment, prosthetics, orthotics and supplies DMZ demilitarized zone DND do not disturb DNF did not finish @@ -203,6 +205,7 @@ HF have fun HHIS hanging head in shame HHOS ha ha, only serious HICA here it comes again +HME home medical equipment HNY happy new year HOAS hold on a second HOPS half-operator status
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Sep 15 23:08:12 UTC 2017 Modified Files: src/share/misc: acronyms Log Message: PR misc/52542: Nikolai Lifanov: add definitions for HME, DME, DMEPOS To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/share/misc/acronyms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/syslogd
Module Name:src Committed By: ginsbach Date: Sun Sep 10 17:01:07 UTC 2017 Modified Files: src/usr.sbin/syslogd: syslogd.c Log Message: Use looked up remote host for remote message without a hostname An incoming remote message may not necessarily have a hostname between the timestamp and the message. The the source of the remote sender is already looked up so use that hostname/IP address rather than the local hostname. XXX: pullup-8 XXX: pullup-7 XXX: pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/usr.sbin/syslogd/syslogd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/syslogd/syslogd.c diff -u src/usr.sbin/syslogd/syslogd.c:1.123 src/usr.sbin/syslogd/syslogd.c:1.124 --- src/usr.sbin/syslogd/syslogd.c:1.123 Sat Jun 11 16:55:10 2016 +++ src/usr.sbin/syslogd/syslogd.c Sun Sep 10 17:01:07 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: syslogd.c,v 1.123 2016/06/11 16:55:10 christos Exp $ */ +/* $NetBSD: syslogd.c,v 1.124 2017/09/10 17:01:07 ginsbach Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19 #if 0 static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #else -__RCSID("$NetBSD: syslogd.c,v 1.123 2016/06/11 16:55:10 christos Exp $"); +__RCSID("$NetBSD: syslogd.c,v 1.124 2017/09/10 17:01:07 ginsbach Exp $"); #endif #endif /* not lint */ @@ -1277,7 +1277,7 @@ printline_bsdsyslog(const char *hname, c } else if (*p == '[' || (*p == ':' && (*(p+1) == ' ' || *(p+1) == '\0'))) { /* no host in message */ - buffer->host = LocalFQDN; + buffer->host = strdup(hname); buffer->prog = strndup(start, p - start); break; } else {
CVS commit: src/usr.sbin/syslogd
Module Name:src Committed By: ginsbach Date: Sun Sep 10 17:01:07 UTC 2017 Modified Files: src/usr.sbin/syslogd: syslogd.c Log Message: Use looked up remote host for remote message without a hostname An incoming remote message may not necessarily have a hostname between the timestamp and the message. The the source of the remote sender is already looked up so use that hostname/IP address rather than the local hostname. XXX: pullup-8 XXX: pullup-7 XXX: pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/usr.sbin/syslogd/syslogd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/dust/dist
Module Name:othersrc Committed By: ginsbach Date: Wed Aug 30 19:18:31 UTC 2017 Modified Files: othersrc/external/bsd/dust/dist: dust.1 dust.sh Log Message: Add a way to pass -a and -x to du(1). These allow one to 'dust' a filesystem (-x) or see what files are the big offenders (-a) rather than just the big directories (default). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/dust/dist/dust.1 \ othersrc/external/bsd/dust/dist/dust.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/external/bsd/dust/dist/dust.1 diff -u othersrc/external/bsd/dust/dist/dust.1:1.2 othersrc/external/bsd/dust/dist/dust.1:1.3 --- othersrc/external/bsd/dust/dist/dust.1:1.2 Wed Apr 2 08:50:43 2014 +++ othersrc/external/bsd/dust/dist/dust.1 Wed Aug 30 19:18:31 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: dust.1,v 1.2 2014/04/02 08:50:43 wiz Exp $ +.\" $NetBSD: dust.1,v 1.3 2017/08/30 19:18:31 ginsbach Exp $ .\" .\" Copyright (c) 2014 Alistair Crooks.\" All rights reserved. @@ -31,8 +31,9 @@ .Nd print directory listings ordered by size .Sh SYNOPSIS .Nm -.Op Fl rs -.Ar file ... +.Op Fl rx +.Op Fl a | Fl s +.Op Ar file ... .Sh DESCRIPTION The .Nm @@ -42,15 +43,19 @@ to retrieve the sizes on disk of the specified files and directories, and orders them in size order. .Bl -tag -width XrX +.It Fl a +Display an entry for each file in the directory hierarchy. .It Fl r Reverse the order of the output \(em instead of printing -the directory entries in smallest to largest order, +the directory or file entries in smallest to largest order, this argument will print the entries in largest to smallest order. .It Fl s As in .Xr du 1 , perform the listing silently, recursing into directories, but only printing the results at the topmost level of specification. +.It Fl x +Filesystem mounts points are not traversed. .Sh EXIT STATUS .Ex -std dust .Sh EXAMPLES Index: othersrc/external/bsd/dust/dist/dust.sh diff -u othersrc/external/bsd/dust/dist/dust.sh:1.2 othersrc/external/bsd/dust/dist/dust.sh:1.3 --- othersrc/external/bsd/dust/dist/dust.sh:1.2 Wed Aug 30 18:49:31 2017 +++ othersrc/external/bsd/dust/dist/dust.sh Wed Aug 30 19:18:31 2017 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: dust.sh,v 1.2 2017/08/30 18:49:31 ginsbach Exp $ +# $NetBSD: dust.sh,v 1.3 2017/08/30 19:18:31 ginsbach Exp $ # Copyright (c) 2013 Alistair Crooks # All rights reserved. @@ -26,26 +26,38 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Usage: dust [-r] [-s] file... +# Usage: dust [-rx] [-a | -s] file... +# -a == list all files, don't summarize by directory # -r == reverse sort, largest first, smallest last # -s == silent execution of du, don't recurse into subdirs +# -x == file system mount points are not traversed +all="" +exclude="" revsort="" silent="" -while getopts "rs" arg; do +while getopts "arsx" arg; do case "$arg" in + a) all="-a" ;; r) revsort="-r" ;; s) silent="-s" ;; - *) echo "Usage: $(basename $0) [-r] [-s] [file ...]"; exit 1 ;; + x) exclude="-x" ;; + *) echo "Usage: $(basename $0) [-rx] [-a | -s] [file ...]" 2>&1 + exit 1 ;; esac done shift $(expr $OPTIND - 1) +if [ -n "${all}" ] && [ -n "${silent}" ]; then + echo "Usage: $(basename $0) [-rx] [-a | -s] [file ...]" 2>&1 + exit 1 +fi + awk=/usr/bin/awk du=/usr/bin/du sort=/usr/bin/sort -${du} -h ${silent} "$@" | ${awk} ' +${du} -h ${all} ${exclude} ${silent} "$@" | ${awk} ' BEGIN { n = 1; sufs = "BKMGT"; for (i = 1 ; i <= length(sufs) ; i++) {
CVS commit: othersrc/external/bsd/dust/dist
Module Name:othersrc Committed By: ginsbach Date: Wed Aug 30 19:18:31 UTC 2017 Modified Files: othersrc/external/bsd/dust/dist: dust.1 dust.sh Log Message: Add a way to pass -a and -x to du(1). These allow one to 'dust' a filesystem (-x) or see what files are the big offenders (-a) rather than just the big directories (default). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/dust/dist/dust.1 \ othersrc/external/bsd/dust/dist/dust.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/dust/dist
Module Name:othersrc Committed By: ginsbach Date: Wed Aug 30 18:49:32 UTC 2017 Modified Files: othersrc/external/bsd/dust/dist: dust.sh Log Message: Fix option handling so options are actually processed. [approved by agc] To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/dust/dist/dust.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/external/bsd/dust/dist/dust.sh diff -u othersrc/external/bsd/dust/dist/dust.sh:1.1.1.1 othersrc/external/bsd/dust/dist/dust.sh:1.2 --- othersrc/external/bsd/dust/dist/dust.sh:1.1.1.1 Wed Apr 2 04:38:22 2014 +++ othersrc/external/bsd/dust/dist/dust.sh Wed Aug 30 18:49:31 2017 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: dust.sh,v 1.1.1.1 2014/04/02 04:38:22 agc Exp $ +# $NetBSD: dust.sh,v 1.2 2017/08/30 18:49:31 ginsbach Exp $ # Copyright (c) 2013 Alistair Crooks# All rights reserved. @@ -34,11 +34,12 @@ revsort="" silent="" while getopts "rs" arg; do case "$arg" in - -r) revsort="-r" ;; - -s) silent="-s" ;; - *) break; + r) revsort="-r" ;; + s) silent="-s" ;; + *) echo "Usage: $(basename $0) [-r] [-s] [file ...]"; exit 1 ;; esac done +shift $(expr $OPTIND - 1) awk=/usr/bin/awk du=/usr/bin/du
CVS commit: othersrc/external/bsd/dust/dist
Module Name:othersrc Committed By: ginsbach Date: Wed Aug 30 18:49:32 UTC 2017 Modified Files: othersrc/external/bsd/dust/dist: dust.sh Log Message: Fix option handling so options are actually processed. [approved by agc] To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/dust/dist/dust.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/rdate
Module Name:src Committed By: ginsbach Date: Sat Aug 26 19:26:32 UTC 2017 Modified Files: src/usr.sbin/rdate: rdate.8 rdate.c Log Message: Support -4 and -6. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/rdate/rdate.8 cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/rdate/rdate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/rdate
Module Name:src Committed By: ginsbach Date: Sat Aug 26 19:26:32 UTC 2017 Modified Files: src/usr.sbin/rdate: rdate.8 rdate.c Log Message: Support -4 and -6. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/rdate/rdate.8 cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/rdate/rdate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/rdate/rdate.8 diff -u src/usr.sbin/rdate/rdate.8:1.12 src/usr.sbin/rdate/rdate.8:1.13 --- src/usr.sbin/rdate/rdate.8:1.12 Sat Aug 26 18:16:05 2017 +++ src/usr.sbin/rdate/rdate.8 Sat Aug 26 19:26:32 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: rdate.8,v 1.12 2017/08/26 18:16:05 ginsbach Exp $ +.\" $NetBSD: rdate.8,v 1.13 2017/08/26 19:26:32 ginsbach Exp $ .\" .\" Copyright (c) 1994 Christos Zoulas .\" All rights reserved. @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 30, 1994 +.Dd August 26, 2017 .Dt RDATE 8 .Os .Sh NAME @@ -31,7 +31,7 @@ .Nd set the system's date from a remote host .Sh SYNOPSIS .Nm -.Op Fl aps +.Op Fl 46aps .Ar host .Sh DESCRIPTION .Nm @@ -43,6 +43,14 @@ protocol which is usually implemented as Available options: .Pp .Bl -tag -width indent +.It Fl 4 +Forces +.Nm +to use IPv4 addresses only. +.It Fl 6 +Forces +.Nm +to use IPv6 addresses only. .It Fl a Use the .Xr adjtime 2 Index: src/usr.sbin/rdate/rdate.c diff -u src/usr.sbin/rdate/rdate.c:1.21 src/usr.sbin/rdate/rdate.c:1.22 --- src/usr.sbin/rdate/rdate.c:1.21 Sat Aug 26 18:16:05 2017 +++ src/usr.sbin/rdate/rdate.c Sat Aug 26 19:26:32 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: rdate.c,v 1.21 2017/08/26 18:16:05 ginsbach Exp $ */ +/* $NetBSD: rdate.c,v 1.22 2017/08/26 19:26:32 ginsbach Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -34,7 +34,7 @@ */ #include #ifndef lint -__RCSID("$NetBSD: rdate.c,v 1.21 2017/08/26 18:16:05 ginsbach Exp $"); +__RCSID("$NetBSD: rdate.c,v 1.22 2017/08/26 19:26:32 ginsbach Exp $"); #endif /* lint */ #include @@ -59,7 +59,9 @@ static void usage(void); static void usage(void) { - (void) fprintf(stderr, "usage: %s [-aps] host\n", getprogname()); + (void) fprintf(stderr, "usage: %s [-46aps] host\n", getprogname()); + (void) fprintf(stderr, " -4: use IPv4 addresses only\n"); + (void) fprintf(stderr, " -6: use IPv6 addresses only\n"); (void) fprintf(stderr, " -a: use adjtime instead of instant change\n"); (void) fprintf(stderr, " -p: just print, don't set\n"); (void) fprintf(stderr, " -s: just set, don't print\n"); @@ -78,22 +80,31 @@ main(int argc, char *argv[]) struct addrinfo hints, *res, *res0; int c; int error; + int family = AF_UNSPEC; adjustment = 0; - while ((c = getopt(argc, argv, "psa")) != -1) + while ((c = getopt(argc, argv, "46aps")) != -1) switch (c) { - case 'p': - pr++; + case '4': + family = AF_INET; break; - case 's': - silent++; + case '6': + family = AF_INET6; break; case 'a': slidetime++; break; + case 'p': + pr++; + break; + + case 's': + silent++; + break; + default: usage(); return 1; @@ -106,7 +117,7 @@ main(int argc, char *argv[]) hname = argv[optind]; memset(, 0, sizeof (hints)); - hints.ai_family = PF_UNSPEC; + hints.ai_family = family; hints.ai_socktype = SOCK_STREAM; hints.ai_flags = AI_CANONNAME; error = getaddrinfo(hname, "time", , );
CVS commit: src/usr.sbin/rdate
Module Name:src Committed By: ginsbach Date: Sat Aug 26 18:16:06 UTC 2017 Modified Files: src/usr.sbin/rdate: rdate.8 rdate.c Log Message: Sort options alphabetically. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/rdate/rdate.8 cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/rdate/rdate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/rdate/rdate.8 diff -u src/usr.sbin/rdate/rdate.8:1.11 src/usr.sbin/rdate/rdate.8:1.12 --- src/usr.sbin/rdate/rdate.8:1.11 Wed Oct 21 01:07:47 2009 +++ src/usr.sbin/rdate/rdate.8 Sat Aug 26 18:16:05 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: rdate.8,v 1.11 2009/10/21 01:07:47 snj Exp $ +.\" $NetBSD: rdate.8,v 1.12 2017/08/26 18:16:05 ginsbach Exp $ .\" .\" Copyright (c) 1994 Christos Zoulas .\" All rights reserved. @@ -31,7 +31,7 @@ .Nd set the system's date from a remote host .Sh SYNOPSIS .Nm -.Op Fl psa +.Op Fl aps .Ar host .Sh DESCRIPTION .Nm @@ -43,15 +43,15 @@ protocol which is usually implemented as Available options: .Pp .Bl -tag -width indent -.It Fl p -Do not set, just print the remote time -.It Fl s -Do not print the time. .It Fl a Use the .Xr adjtime 2 call to gradually skew the local time to the remote time rather than just hopping. +.It Fl p +Do not set, just print the remote time +.It Fl s +Do not print the time. .El .Sh FILES .Bl -tag -width /var/log/wtmp -compact Index: src/usr.sbin/rdate/rdate.c diff -u src/usr.sbin/rdate/rdate.c:1.20 src/usr.sbin/rdate/rdate.c:1.21 --- src/usr.sbin/rdate/rdate.c:1.20 Thu May 4 16:26:09 2017 +++ src/usr.sbin/rdate/rdate.c Sat Aug 26 18:16:05 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: rdate.c,v 1.20 2017/05/04 16:26:09 sevan Exp $ */ +/* $NetBSD: rdate.c,v 1.21 2017/08/26 18:16:05 ginsbach Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -34,7 +34,7 @@ */ #include #ifndef lint -__RCSID("$NetBSD: rdate.c,v 1.20 2017/05/04 16:26:09 sevan Exp $"); +__RCSID("$NetBSD: rdate.c,v 1.21 2017/08/26 18:16:05 ginsbach Exp $"); #endif /* lint */ #include @@ -59,10 +59,10 @@ static void usage(void); static void usage(void) { - (void) fprintf(stderr, "usage: %s [-psa] host\n", getprogname()); + (void) fprintf(stderr, "usage: %s [-aps] host\n", getprogname()); + (void) fprintf(stderr, " -a: use adjtime instead of instant change\n"); (void) fprintf(stderr, " -p: just print, don't set\n"); (void) fprintf(stderr, " -s: just set, don't print\n"); - (void) fprintf(stderr, " -a: use adjtime instead of instant change\n"); } int
CVS commit: src/usr.sbin/rdate
Module Name:src Committed By: ginsbach Date: Sat Aug 26 18:16:06 UTC 2017 Modified Files: src/usr.sbin/rdate: rdate.8 rdate.c Log Message: Sort options alphabetically. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/rdate/rdate.8 cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/rdate/rdate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libpthread
Module Name:src Committed By: ginsbach Date: Fri Aug 25 22:59:47 UTC 2017 Modified Files: src/tests/lib/libpthread: t_once.c Log Message: PR/49003: Ngie Cooper: add To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/t_once.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libpthread/t_once.c diff -u src/tests/lib/libpthread/t_once.c:1.1 src/tests/lib/libpthread/t_once.c:1.2 --- src/tests/lib/libpthread/t_once.c:1.1 Fri Jul 16 15:42:53 2010 +++ src/tests/lib/libpthread/t_once.c Fri Aug 25 22:59:47 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: t_once.c,v 1.1 2010/07/16 15:42:53 jmmv Exp $ */ +/* $NetBSD: t_once.c,v 1.2 2017/08/25 22:59:47 ginsbach Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,8 +29,9 @@ #include __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: t_once.c,v 1.1 2010/07/16 15:42:53 jmmv Exp $"); +__RCSID("$NetBSD: t_once.c,v 1.2 2017/08/25 22:59:47 ginsbach Exp $"); +#include #include #include #include
CVS commit: src/tests/lib/libpthread
Module Name:src Committed By: ginsbach Date: Fri Aug 25 22:59:47 UTC 2017 Modified Files: src/tests/lib/libpthread: t_once.c Log Message: PR/49003: Ngie Cooper: add To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/t_once.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: ginsbach Date: Thu Aug 24 01:01:09 UTC 2017 Modified Files: src/lib/libc/time: strptime.c src/tests/lib/libc/time: t_strptime.c Log Message: The military/nautical time zones were added following RFC 822 and RFC 2822 specifications. Unfortunately they are specified incorrectly in RFC-822 and not very clearly in RFC 2822. RFC 1123 clearly states they are specified incorrectly - counting the wrong way from UTC - in RFC 822. RFC 2822 just states they were implemented in a non-standard way. Mea culpa for not noticing when originally implemented. Fix them so the correct calculations are made. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/lib/libc/time/strptime.c cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/time/t_strptime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: ginsbach Date: Thu Aug 24 01:01:09 UTC 2017 Modified Files: src/lib/libc/time: strptime.c src/tests/lib/libc/time: t_strptime.c Log Message: The military/nautical time zones were added following RFC 822 and RFC 2822 specifications. Unfortunately they are specified incorrectly in RFC-822 and not very clearly in RFC 2822. RFC 1123 clearly states they are specified incorrectly - counting the wrong way from UTC - in RFC 822. RFC 2822 just states they were implemented in a non-standard way. Mea culpa for not noticing when originally implemented. Fix them so the correct calculations are made. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/lib/libc/time/strptime.c cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/time/t_strptime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/time/strptime.c diff -u src/lib/libc/time/strptime.c:1.61 src/lib/libc/time/strptime.c:1.62 --- src/lib/libc/time/strptime.c:1.61 Sat Aug 12 03:29:23 2017 +++ src/lib/libc/time/strptime.c Thu Aug 24 01:01:09 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: strptime.c,v 1.61 2017/08/12 03:29:23 ginsbach Exp $ */ +/* $NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $ */ /*- * Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strptime.c,v 1.61 2017/08/12 03:29:23 ginsbach Exp $"); +__RCSID("$NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $"); #endif #include "namespace.h" @@ -521,11 +521,11 @@ namedzone: /* Argh! No 'J'! */ if (*bp >= 'A' && *bp <= 'I') tm->TM_GMTOFF = - ('A' - 1) - (int)*bp; + (int)*bp - ('A' - 1); else if (*bp >= 'L' && *bp <= 'M') - tm->TM_GMTOFF = 'A' - (int)*bp; + tm->TM_GMTOFF = (int)*bp - 'A'; else if (*bp >= 'N' && *bp <= 'Y') - tm->TM_GMTOFF = (int)*bp - 'M'; + tm->TM_GMTOFF = 'M' - (int)*bp; tm->TM_GMTOFF *= SECSPERHOUR; #endif #ifdef TM_ZONE Index: src/tests/lib/libc/time/t_strptime.c diff -u src/tests/lib/libc/time/t_strptime.c:1.12 src/tests/lib/libc/time/t_strptime.c:1.13 --- src/tests/lib/libc/time/t_strptime.c:1.12 Sat Oct 31 02:25:11 2015 +++ src/tests/lib/libc/time/t_strptime.c Thu Aug 24 01:01:09 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: t_strptime.c,v 1.12 2015/10/31 02:25:11 christos Exp $ */ +/* $NetBSD: t_strptime.c,v 1.13 2017/08/24 01:01:09 ginsbach Exp $ */ /*- * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #include __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: t_strptime.c,v 1.12 2015/10/31 02:25:11 christos Exp $"); +__RCSID("$NetBSD: t_strptime.c,v 1.13 2017/08/24 01:01:09 ginsbach Exp $"); #include #include @@ -126,28 +126,28 @@ static struct { { "+1060", -1 }, { "-1060", -1 }, - { "A",-3600 }, - { "B",-7200 }, - { "C",-10800 }, - { "D",-14400 }, - { "E",-18000 }, - { "F",-21600 }, - { "G",-25200 }, - { "H",-28800 }, - { "I",-32400 }, - { "L",-39600 }, - { "M",-43200 }, - { "N",3600 }, - { "O",7200 }, - { "P",10800 }, - { "Q",14400 }, - { "R",18000 }, - { "T",25200 }, - { "U",28800 }, - { "V",32400 }, - { "W",36000 }, - { "X",39600 }, - { "Y",43200 }, + { "A",3600 }, + { "B",7200 }, + { "C",10800 }, + { "D",14400 }, + { "E",18000 }, + { "F",21600 }, + { "G",25200 }, + { "H",28800 }, + { "I",32400 }, + { "L",39600 }, + { "M",43200 }, + { "N",-3600 }, + { "O",-7200 }, + { "P",-10800 }, + { "Q",-14400 }, + { "R",-18000 }, + { "T",-25200 }, + { "U",-28800 }, + { "V",-32400 }, + { "W",-36000 }, + { "X",-39600 }, + { "Y",-43200 }, { "J",-2 },
CVS commit: src/usr.sbin/rpcbind
Module Name:src Committed By: ginsbach Date: Thu Aug 17 00:08:10 UTC 2017 Modified Files: src/usr.sbin/rpcbind: warmstart.c Log Message: Fix compile warnings. (Restore changes clobbered by merge of FreeBSD changes. Hi christos!) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/rpcbind/warmstart.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/rpcbind/warmstart.c diff -u src/usr.sbin/rpcbind/warmstart.c:1.7 src/usr.sbin/rpcbind/warmstart.c:1.8 --- src/usr.sbin/rpcbind/warmstart.c:1.7 Wed Aug 16 23:38:16 2017 +++ src/usr.sbin/rpcbind/warmstart.c Thu Aug 17 00:08:10 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: warmstart.c,v 1.7 2017/08/16 23:38:16 ginsbach Exp $ */ +/* $NetBSD: warmstart.c,v 1.8 2017/08/17 00:08:10 ginsbach Exp $ */ /* $FreeBSD: head/usr.sbin/rpcbind/warmstart.c 258564 2013-11-25 16:44:02Z hrs $*/ /*- @@ -136,9 +136,9 @@ error: warnx("Will start from scratch"); void write_warmstart(void) { - (void)write_struct(RPCBFILE, xdr_rpcblist_ptr, _rbl); + (void)write_struct(RPCBFILE, (xdrproc_t) xdr_rpcblist_ptr, _rbl); #ifdef PORTMAP - (void)write_struct(PMAPFILE, xdr_pmaplist_ptr, _pml); + (void)write_struct(PMAPFILE, (xdrproc_t) xdr_pmaplist_ptr, _pml); #endif } @@ -152,11 +152,11 @@ read_warmstart(void) #endif int ok1, ok2 = TRUE; - ok1 = read_struct(RPCBFILE, xdr_rpcblist_ptr, _rpcbl); + ok1 = read_struct(RPCBFILE, (xdrproc_t) xdr_rpcblist_ptr, _rpcbl); if (ok1 == FALSE) return; #ifdef PORTMAP - ok2 = read_struct(PMAPFILE, xdr_pmaplist_ptr, _pmapl); + ok2 = read_struct(PMAPFILE, (xdrproc_t) xdr_pmaplist_ptr, _pmapl); #endif if (ok2 == FALSE) { xdr_free((xdrproc_t) xdr_rpcblist_ptr, (char *)_rpcbl);
CVS commit: src/usr.sbin/rpcbind
Module Name:src Committed By: ginsbach Date: Thu Aug 17 00:08:10 UTC 2017 Modified Files: src/usr.sbin/rpcbind: warmstart.c Log Message: Fix compile warnings. (Restore changes clobbered by merge of FreeBSD changes. Hi christos!) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/rpcbind/warmstart.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/rpcbind
Module Name:src Committed By: ginsbach Date: Thu Aug 17 00:06:00 UTC 2017 Modified Files: src/usr.sbin/rpcbind: Makefile Log Message: Revert accidently committed enabling WARMSTART. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/rpcbind/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/rpcbind
Module Name:src Committed By: ginsbach Date: Thu Aug 17 00:06:00 UTC 2017 Modified Files: src/usr.sbin/rpcbind: Makefile Log Message: Revert accidently committed enabling WARMSTART. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/rpcbind/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/rpcbind/Makefile diff -u src/usr.sbin/rpcbind/Makefile:1.13 src/usr.sbin/rpcbind/Makefile:1.14 --- src/usr.sbin/rpcbind/Makefile:1.13 Wed Aug 16 23:38:16 2017 +++ src/usr.sbin/rpcbind/Makefile Thu Aug 17 00:06:00 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2017/08/16 23:38:16 ginsbach Exp $ +# $NetBSD: Makefile,v 1.14 2017/08/17 00:06:00 ginsbach Exp $ .include @@ -21,7 +21,6 @@ CPPFLAGS+= -DINET6 # Uncomment these to get any useful output from 'rpcbind -d' # CPPFLAGS+= -DRPCBIND_DEBUG # CPPFLAGS+= -DSVC_RUN_DEBUG -CPPFLAGS+= -DWARMSTART LDADD+= -lwrap -lutil DPADD+= ${LIBWRAP} ${LIBUTIL}
CVS commit: src/usr.sbin/rpcbind
Module Name:src Committed By: ginsbach Date: Wed Aug 16 23:38:16 UTC 2017 Modified Files: src/usr.sbin/rpcbind: Makefile warmstart.c Log Message: Write the "warm start" file to /var/run rather than /tmp. (Restore changes clobbered by merge of FreeBSD changes. Hi christos!) To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/rpcbind/Makefile cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/rpcbind/warmstart.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/rpcbind/Makefile diff -u src/usr.sbin/rpcbind/Makefile:1.12 src/usr.sbin/rpcbind/Makefile:1.13 --- src/usr.sbin/rpcbind/Makefile:1.12 Wed Apr 22 15:23:07 2009 +++ src/usr.sbin/rpcbind/Makefile Wed Aug 16 23:38:16 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2009/04/22 15:23:07 lukem Exp $ +# $NetBSD: Makefile,v 1.13 2017/08/16 23:38:16 ginsbach Exp $ .include @@ -21,6 +21,7 @@ CPPFLAGS+= -DINET6 # Uncomment these to get any useful output from 'rpcbind -d' # CPPFLAGS+= -DRPCBIND_DEBUG # CPPFLAGS+= -DSVC_RUN_DEBUG +CPPFLAGS+= -DWARMSTART LDADD+= -lwrap -lutil DPADD+= ${LIBWRAP} ${LIBUTIL} Index: src/usr.sbin/rpcbind/warmstart.c diff -u src/usr.sbin/rpcbind/warmstart.c:1.6 src/usr.sbin/rpcbind/warmstart.c:1.7 --- src/usr.sbin/rpcbind/warmstart.c:1.6 Wed Aug 16 08:44:40 2017 +++ src/usr.sbin/rpcbind/warmstart.c Wed Aug 16 23:38:16 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: warmstart.c,v 1.6 2017/08/16 08:44:40 christos Exp $ */ +/* $NetBSD: warmstart.c,v 1.7 2017/08/16 23:38:16 ginsbach Exp $ */ /* $FreeBSD: head/usr.sbin/rpcbind/warmstart.c 258564 2013-11-25 16:44:02Z hrs $*/ /*- @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -61,9 +62,9 @@ /* These files keep the pmap_list and rpcb_list in XDR format */ -#define RPCBFILE "/tmp/rpcbind.file" +#define RPCBFILE _PATH_VARRUN "rpcbind.file" #ifdef PORTMAP -#define PMAPFILE "/tmp/portmap.file" +#define PMAPFILE _PATH_VARRUN "portmap.file" #endif static bool_t write_struct(const char *, xdrproc_t, void *);
CVS commit: src/usr.sbin/rpcbind
Module Name:src Committed By: ginsbach Date: Wed Aug 16 23:38:16 UTC 2017 Modified Files: src/usr.sbin/rpcbind: Makefile warmstart.c Log Message: Write the "warm start" file to /var/run rather than /tmp. (Restore changes clobbered by merge of FreeBSD changes. Hi christos!) To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/rpcbind/Makefile cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/rpcbind/warmstart.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: ginsbach Date: Sun Aug 13 01:08:41 UTC 2017 Modified Files: src/lib/libc/rpc: rpcb_st_xdr.c Log Message: PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat. This fixes issues with RPCBPROC_GETSTAT not working correctly with systems that correctly implement the XDR encode/decode routine. XXX: pullup-8 XXX: pullup-7 XXX: pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/rpc/rpcb_st_xdr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: ginsbach Date: Sun Aug 13 01:08:41 UTC 2017 Modified Files: src/lib/libc/rpc: rpcb_st_xdr.c Log Message: PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat. This fixes issues with RPCBPROC_GETSTAT not working correctly with systems that correctly implement the XDR encode/decode routine. XXX: pullup-8 XXX: pullup-7 XXX: pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/rpc/rpcb_st_xdr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/rpc/rpcb_st_xdr.c diff -u src/lib/libc/rpc/rpcb_st_xdr.c:1.11 src/lib/libc/rpc/rpcb_st_xdr.c:1.12 --- src/lib/libc/rpc/rpcb_st_xdr.c:1.11 Wed May 3 21:39:27 2017 +++ src/lib/libc/rpc/rpcb_st_xdr.c Sun Aug 13 01:08:41 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: rpcb_st_xdr.c,v 1.11 2017/05/03 21:39:27 christos Exp $ */ +/* $NetBSD: rpcb_st_xdr.c,v 1.12 2017/08/13 01:08:41 ginsbach Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -42,7 +42,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.11 2017/05/03 21:39:27 christos Exp $"); +__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.12 2017/08/13 01:08:41 ginsbach Exp $"); #endif #include "namespace.h" @@ -258,6 +258,9 @@ xdr_rpcb_stat(XDR *xdrs, rpcb_stat *objp if (!xdr_rpcbs_addrlist_ptr(xdrs, >addrinfo)) { return (FALSE); } + if (!xdr_rpcbs_rmtcalllist_ptr(xdrs, >rmtinfo)) { + return (FALSE); + } return (TRUE); }
CVS commit: src/lib/libc/time
Module Name:src Committed By: ginsbach Date: Sat Aug 12 03:29:23 UTC 2017 Modified Files: src/lib/libc/time: strptime.c Log Message: Fix a couple comments and a spacing nit. - Change a XXX comment that no longer applies. - Add a clarifying comment. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/lib/libc/time/strptime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/time/strptime.c diff -u src/lib/libc/time/strptime.c:1.60 src/lib/libc/time/strptime.c:1.61 --- src/lib/libc/time/strptime.c:1.60 Sun May 15 20:37:48 2016 +++ src/lib/libc/time/strptime.c Sat Aug 12 03:29:23 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: strptime.c,v 1.60 2016/05/15 20:37:48 christos Exp $ */ +/* $NetBSD: strptime.c,v 1.61 2017/08/12 03:29:23 ginsbach Exp $ */ /*- * Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strptime.c,v 1.60 2016/05/15 20:37:48 christos Exp $"); +__RCSID("$NetBSD: strptime.c,v 1.61 2017/08/12 03:29:23 ginsbach Exp $"); #endif #include "namespace.h" @@ -382,10 +382,10 @@ literal: case 'U': /* The week of year, beginning on sunday. */ case 'W': /* The week of year, beginning on monday. */ /* - * XXX This is bogus, as we can not assume any valid + * This is bogus, as we can not assume any valid * information present in the tm structure at this - * point to calculate a real value, so just check the - * range for now. + * point to calculate a real value, so save the + * week for now in case it can be used later. */ bp = conv_num(bp, , 0, 53); LEGAL_ALT(ALT_O); @@ -516,7 +516,7 @@ namedzone: /* Nautical / Military style */ if (delim(bp[1]) && ((*bp >= 'A' && *bp <= 'I') || -(*bp >= 'L' && *bp <= 'Y'))) { + (*bp >= 'L' && *bp <= 'Y'))) { #ifdef TM_GMTOFF /* Argh! No 'J'! */ if (*bp >= 'A' && *bp <= 'I') @@ -635,6 +635,7 @@ loadzone: bp = zname; continue; } + /* ISO 8601 & RFC 3339 limit to 23:59 max */ if (offs >= (HOURSPERDAY * SECSPERHOUR)) goto out; if (neg)
CVS commit: src/lib/libc/time
Module Name:src Committed By: ginsbach Date: Sat Aug 12 03:29:23 UTC 2017 Modified Files: src/lib/libc/time: strptime.c Log Message: Fix a couple comments and a spacing nit. - Change a XXX comment that no longer applies. - Add a clarifying comment. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/lib/libc/time/strptime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: ginsbach Date: Sat Aug 12 01:10:04 UTC 2017 Modified Files: src/lib/libc/stdlib: merge.c Log Message: PR lib/50316: Gracefully handle a zero number of members argument. Taken from FreeBSD (which fixed this same issue long ago). XXX: pullup-8 XXX: pullup-7 XXX: pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdlib/merge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdlib/merge.c diff -u src/lib/libc/stdlib/merge.c:1.14 src/lib/libc/stdlib/merge.c:1.15 --- src/lib/libc/stdlib/merge.c:1.14 Tue Mar 13 21:13:48 2012 +++ src/lib/libc/stdlib/merge.c Sat Aug 12 01:10:04 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: merge.c,v 1.14 2012/03/13 21:13:48 christos Exp $ */ +/* $NetBSD: merge.c,v 1.15 2017/08/12 01:10:04 ginsbach Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "from: @(#)merge.c 8.2 (Berkeley) 2/14/94"; #else -__RCSID("$NetBSD: merge.c,v 1.14 2012/03/13 21:13:48 christos Exp $"); +__RCSID("$NetBSD: merge.c,v 1.15 2017/08/12 01:10:04 ginsbach Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -125,6 +125,9 @@ mergesort(void *base, size_t nmemb, size return (-1); } + if (nmemb == 0) + return (0); + /* * XXX * Stupid subtraction for the Cray.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: ginsbach Date: Sat Aug 12 01:10:04 UTC 2017 Modified Files: src/lib/libc/stdlib: merge.c Log Message: PR lib/50316: Gracefully handle a zero number of members argument. Taken from FreeBSD (which fixed this same issue long ago). XXX: pullup-8 XXX: pullup-7 XXX: pullup-6 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdlib/merge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libpcap/dist
Module Name:src Committed By: ginsbach Date: Sat Aug 12 00:43:25 UTC 2017 Modified Files: src/external/bsd/libpcap/dist: gencode.c Log Message: PR lib/51952: Brad Harder: Apply upstream ada959c9 [From upstream tcpdump] In pcap_compile(), first check whether the pcap_t is activated. Before we allocate or otherwise set up anything, check whether the pcap_t is activated, and set the error message string and return -1 if it's not. That way, we don't go through the cleanup code in that code path - there's nothing to clean up. Fixes the issue in GitHub pull request #552. XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/libpcap/dist/gencode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/libpcap/dist/gencode.c diff -u src/external/bsd/libpcap/dist/gencode.c:1.9 src/external/bsd/libpcap/dist/gencode.c:1.10 --- src/external/bsd/libpcap/dist/gencode.c:1.9 Tue Jan 24 22:29:28 2017 +++ src/external/bsd/libpcap/dist/gencode.c Sat Aug 12 00:43:25 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: gencode.c,v 1.9 2017/01/24 22:29:28 christos Exp $ */ +/* $NetBSD: gencode.c,v 1.10 2017/08/12 00:43:25 ginsbach Exp $ */ /*#define CHASE_CHAIN*/ /* @@ -23,7 +23,7 @@ */ #include -__RCSID("$NetBSD: gencode.c,v 1.9 2017/01/24 22:29:28 christos Exp $"); +__RCSID("$NetBSD: gencode.c,v 1.10 2017/08/12 00:43:25 ginsbach Exp $"); #ifdef HAVE_CONFIG_H #include "config.h" @@ -669,6 +669,9 @@ int pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize, bpf_u_int32 mask) { +#ifdef _WIN32 + static int done = 0; +#endif compiler_state_t cstate; const char * volatile xbuf = buf; yyscan_t scanner = NULL; @@ -676,14 +679,6 @@ pcap_compile(pcap_t *p, struct bpf_progr u_int len; int rc; -#ifdef _WIN32 - static int done = 0; - - if (!done) - pcap_wsockinit(); - done = 1; -#endif - /* * If this pcap_t hasn't been activated, it doesn't have a * link-layer type, so we can't use it. @@ -691,9 +686,14 @@ pcap_compile(pcap_t *p, struct bpf_progr if (!p->activated) { pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "not-yet-activated pcap_t passed to pcap_compile"); - rc = -1; - goto quit; + return -1; } + +#ifdef _WIN32 + if (!done) + pcap_wsockinit(); + done = 1; +#endif initchunks(); cstate.no_optimize = 0; cstate.ai = NULL;
CVS commit: src/external/bsd/libpcap/dist
Module Name:src Committed By: ginsbach Date: Sat Aug 12 00:43:25 UTC 2017 Modified Files: src/external/bsd/libpcap/dist: gencode.c Log Message: PR lib/51952: Brad Harder: Apply upstream ada959c9 [From upstream tcpdump] In pcap_compile(), first check whether the pcap_t is activated. Before we allocate or otherwise set up anything, check whether the pcap_t is activated, and set the error message string and return -1 if it's not. That way, we don't go through the cleanup code in that code path - there's nothing to clean up. Fixes the issue in GitHub pull request #552. XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/libpcap/dist/gencode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/ypwhich
Module Name:src Committed By: ginsbach Date: Fri Aug 11 20:32:34 UTC 2017 Modified Files: src/usr.bin/ypwhich: ypwhich.c Log Message: Remove spurious error(1) inserted compiler error message comments. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/ypwhich/ypwhich.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/ypwhich/ypwhich.c diff -u src/usr.bin/ypwhich/ypwhich.c:1.20 src/usr.bin/ypwhich/ypwhich.c:1.21 --- src/usr.bin/ypwhich/ypwhich.c:1.20 Sat Oct 18 08:33:30 2014 +++ src/usr.bin/ypwhich/ypwhich.c Fri Aug 11 20:32:34 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: ypwhich.c,v 1.20 2014/10/18 08:33:30 snj Exp $ */ +/* $NetBSD: ypwhich.c,v 1.21 2017/08/11 20:32:34 ginsbach Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor @@ -306,9 +306,6 @@ find_mapmaster(const char *host, const c * now translate nicknames [unless inhibited] */ if (map && !inhibit) { -/*###325 [cc] error: 'i' undeclared (first use in this function)%%%*/ -/*###325 [cc] error: (Each undeclared identifier is reported only once%%%*/ -/*###325 [cc] error: for each function it appears in.)%%%*/ for (i = 0; ypaliases[i].alias; i++) { if (strcmp(map, ypaliases[i].alias) == 0) { map = ypaliases[i].name;
CVS commit: src/usr.bin/ypwhich
Module Name:src Committed By: ginsbach Date: Fri Aug 11 20:32:34 UTC 2017 Modified Files: src/usr.bin/ypwhich: ypwhich.c Log Message: Remove spurious error(1) inserted compiler error message comments. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/ypwhich/ypwhich.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/timed/timed
Module Name:src Committed By: ginsbach Date: Fri Aug 11 16:47:42 UTC 2017 Modified Files: src/usr.sbin/timed/timed: readmsg.c Log Message: PR bin/42464: Timothy McIntosh: Fix timed interoperability Fix is a combination of FreeBSD fix and submitted patch. [From the FreeBSD change] The timed protocol is not implemented in a compatible way by all vendors; the size of the tsp_name field is OS-dependent. 4.3BSD used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte field. As a result, sanity checking code added a few months ago to detect short packets will fail when interoperating with one of these other vendors. Change the short packet detection code to expect a minimum packet size corresponding to the 4.3BSD implementation, which should be a safe minimum size. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/timed/timed/readmsg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/timed/timed
Module Name:src Committed By: ginsbach Date: Fri Aug 11 16:47:42 UTC 2017 Modified Files: src/usr.sbin/timed/timed: readmsg.c Log Message: PR bin/42464: Timothy McIntosh: Fix timed interoperability Fix is a combination of FreeBSD fix and submitted patch. [From the FreeBSD change] The timed protocol is not implemented in a compatible way by all vendors; the size of the tsp_name field is OS-dependent. 4.3BSD used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte field. As a result, sanity checking code added a few months ago to detect short packets will fail when interoperating with one of these other vendors. Change the short packet detection code to expect a minimum packet size corresponding to the 4.3BSD implementation, which should be a safe minimum size. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/timed/timed/readmsg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/timed/timed/readmsg.c diff -u src/usr.sbin/timed/timed/readmsg.c:1.22 src/usr.sbin/timed/timed/readmsg.c:1.23 --- src/usr.sbin/timed/timed/readmsg.c:1.22 Sat Feb 16 07:30:15 2008 +++ src/usr.sbin/timed/timed/readmsg.c Fri Aug 11 16:47:42 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: readmsg.c,v 1.22 2008/02/16 07:30:15 matt Exp $ */ +/* $NetBSD: readmsg.c,v 1.23 2017/08/11 16:47:42 ginsbach Exp $ */ /*- * Copyright (c) 1985, 1993 The Regents of the University of California. @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)readmsg.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: readmsg.c,v 1.22 2008/02/16 07:30:15 matt Exp $"); +__RCSID("$NetBSD: readmsg.c,v 1.23 2017/08/11 16:47:42 ginsbach Exp $"); #endif #endif /* not lint */ @@ -203,15 +203,22 @@ again: continue; } length = sizeof(from); + memset(, 0, sizeof(msgin)); if ((n = recvfrom(sock, , sizeof(struct tsp), 0, (struct sockaddr*)(void *), )) < 0) { syslog(LOG_ERR, "recvfrom: %m"); exit(EXIT_FAILURE); } - if (n < (ssize_t)sizeof(struct tsp)) { + /* + * The 4.3BSD protocol spec had a 32-byte tsp_name field, and + * this is still OS-dependent. Demand that the packet is at + * least long enough to hold a 4.3BSD packet. + */ + if (n < (ssize_t)(sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) { syslog(LOG_NOTICE, "short packet (%lu/%lu bytes) from %s", - (u_long)n, (u_long)sizeof(struct tsp), + (u_long)n, + (u_long)(sizeof(struct tsp) - MAXHOSTNAMELEN + 32), inet_ntoa(from.sin_addr)); continue; }
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Aug 11 16:03:14 UTC 2017 Modified Files: src/share/misc: acronyms acronyms.comp Log Message: PR/52479: Nikolai Lifanov: Add definitions for CRM and CMS. Thanks! To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/share/misc/acronyms cvs rdiff -u -r1.183 -r1.184 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: ginsbach Date: Fri Aug 11 16:03:14 UTC 2017 Modified Files: src/share/misc: acronyms acronyms.comp Log Message: PR/52479: Nikolai Lifanov: Add definitions for CRM and CMS. Thanks! To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/share/misc/acronyms cvs rdiff -u -r1.183 -r1.184 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.255 src/share/misc/acronyms:1.256 --- src/share/misc/acronyms:1.255 Wed Jun 14 20:56:33 2017 +++ src/share/misc/acronyms Fri Aug 11 16:03:14 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.255 2017/06/14 20:56:33 dholland Exp $ +$NetBSD: acronyms,v 1.256 2017/08/11 16:03:14 ginsbach Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -92,6 +92,7 @@ COB close of business [day] COTS commercial off-the-shelf CPC cost per click CPE customer premises equipment +CRM customer relationship management CTN can't talk now CU see you CUL see you later Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.183 src/share/misc/acronyms.comp:1.184 --- src/share/misc/acronyms.comp:1.183 Fri May 12 21:14:47 2017 +++ src/share/misc/acronyms.comp Fri Aug 11 16:03:14 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.183 2017/05/12 21:14:47 kamil Exp $ +$NetBSD: acronyms.comp,v 1.184 2017/08/11 16:03:14 ginsbach Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -213,8 +213,8 @@ CLUT color look-up table CLV constant linear velocity CM configuration management CMA concert multithread architecture -CMI control management interface -CMI control method interface +CMS {configuration,content,course} management system +CMI control {management,method} interface CMOS complementary metal-oxide-semiconductor CMP chip multi-processing CMS content management system