Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2011 15:11:25 -0500
From:      Ben Kaduk <minimarmot@gmail.com>
To:        Ulrich Spoerlein <uqs@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r228992 - in head/usr.bin: csup finger fstat indent ipcs lex limits locate/locate login mail make man ncplogin netstat pr rpcgen rpcinfo systat talk tip/tip top vgrind xlint/lint1 xlint...
Message-ID:  <CAK2BMK4ToLOABdp3Rv7sAkv93XKHZ0pTBxHXPa=taio8xF2deg@mail.gmail.com>
In-Reply-To: <201112301102.pBUB2fMb010759@svn.freebsd.org>
References:  <201112301102.pBUB2fMb010759@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 30, 2011 at 6:02 AM, Ulrich Spoerlein <uqs@freebsd.org> wrote:
> Author: uqs
> Date: Fri Dec 30 11:02:40 2011
> New Revision: 228992
> URL: http://svn.freebsd.org/changeset/base/228992
>
> Log:
> =A0Spelling fixes for usr.bin/
>
>
> Modified: head/usr.bin/lex/NEWS
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/lex/NEWS =A0 =A0 =A0 Fri Dec 30 10:59:15 2011 =A0 =A0 =
=A0 =A0(r228991)
> +++ head/usr.bin/lex/NEWS =A0 =A0 =A0 Fri Dec 30 11:02:40 2011 =A0 =A0 =
=A0 =A0(r228992)
> @@ -1,3 +1,5 @@
> +$FreeBSD$
> +

NEWS feels pretty similar to CHANGES, to me (viz r228990's comments)

> =A0Changes between release 2.5.4 (11Sep96) and release 2.5.3:
>
> =A0 =A0 =A0 =A0- Fixed a bug introduced in 2.5.3 that blew it when a call
> @@ -944,7 +946,7 @@ Changes between 2.3 (full) release of 28
> =A0 =A0 =A0 =A0 =A0given. =A0To specify an end-of-file action for just th=
e initial
> =A0 =A0 =A0 =A0 =A0state, use <INITIAL><<EOF>>.
>
> - =A0 =A0 =A0 - -d debug output is now contigent on the global yy_flex_de=
bug
> + =A0 =A0 =A0 - -d debug output is now contingent on the global yy_flex_d=
ebug
> =A0 =A0 =A0 =A0 =A0being set to a non-zero value, which it is by default.
>
> =A0 =A0 =A0 =A0- A new macro, YY_USER_INIT, is provided for the user to s=
pecify
> @@ -987,7 +989,7 @@ Changes between 2.3 (full) release of 28
> =A0 =A0 =A0 =A0- yy_switch_to_buffer() can be used in the yywrap() macro/=
routine.
>
> =A0 =A0 =A0 =A0- flex scanners do not use stdio for their input, and henc=
e when
> - =A0 =A0 =A0 =A0 writing an interactive scanner one must explictly call =
fflush()
> + =A0 =A0 =A0 =A0 writing an interactive scanner one must explicitly call=
 fflush()
> =A0 =A0 =A0 =A0 =A0after writing out a prompt.
>
> =A0 =A0 =A0 =A0- flex scanner can be made reentrant (after a fashion) by =
using
>
> Modified: head/usr.bin/locate/locate/util.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/locate/locate/util.c =A0 Fri Dec 30 10:59:15 2011 =A0 =
=A0 =A0 =A0(r228991)
> +++ head/usr.bin/locate/locate/util.c =A0 Fri Dec 30 11:02:40 2011 =A0 =
=A0 =A0 =A0(r228992)
> @@ -218,11 +218,11 @@ tolower_word(word)
>
>
> =A0/*
> - * Read integer from mmap pointer.
> - * Essential a simple =A0``return *(int *)p'' but avoid sigbus
> + * Read integer from mmap pointer.
> + * Essential a simple =A0``return *(int *)p'' but avoid sigbus

I feel like this wants to be "Essentially ... avoids".
(Also, is trailing whitespace really "spelling"?)

> =A0* for integer alignment (SunOS 4.x, 5.x).
> =A0*
> - * Convert network byte order to host byte order if neccessary.
> + * Convert network byte order to host byte order if necessary.
> =A0* So we can read on FreeBSD/i386 (little endian) a locate database
> =A0* which was built on SunOS/sparc (big endian).
> =A0*/
> @@ -254,7 +254,7 @@ getwm(p)
> =A0/*
> =A0* Read integer from stream.
> =A0*
> - * Convert network byte order to host byte order if neccessary.
> + * Convert network byte order to host byte order if necessary.
> =A0* So we can read on FreeBSD/i386 (little endian) a locate database
> =A0* which was built on SunOS/sparc (big endian).
> =A0*/
>
> Modified: head/usr.bin/mail/main.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/mail/main.c =A0 =A0Fri Dec 30 10:59:15 2011 =A0 =A0 =A0 =
=A0(r228991)
> +++ head/usr.bin/mail/main.c =A0 =A0Fri Dec 30 11:02:40 2011 =A0 =A0 =A0 =
=A0(r228992)
> @@ -259,7 +259,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc-
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (ef =3D=3D NULL)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ef =3D "%";
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (setfile(ef) <=3D 0)
> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Either an error has occu=
red, or no mail */
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Either an error has occu=
rted, or no mail */

Just "occurred", no?

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0exit(1);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0else
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0exit(0);
>
> Modified: head/usr.bin/mail/util.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/mail/util.c =A0 =A0Fri Dec 30 10:59:15 2011 =A0 =A0 =A0 =
=A0(r228991)
> +++ head/usr.bin/mail/util.c =A0 =A0Fri Dec 30 11:02:40 2011 =A0 =A0 =A0 =
=A0(r228992)
> @@ -550,7 +550,7 @@ newname:
> =A0}
>
> =A0/*
> - * Count the occurances of c in str
> + * Count the occurrances of c in str

"occurrences", again.

> =A0*/
> =A0int
> =A0charcount(char *str, int c)
>
> Modified: head/usr.bin/talk/ctl_transact.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/talk/ctl_transact.c =A0 =A0Fri Dec 30 10:59:15 2011 =A0 =
=A0 =A0 =A0(r228991)
> +++ head/usr.bin/talk/ctl_transact.c =A0 =A0Fri Dec 30 11:02:40 2011 =A0 =
=A0 =A0 =A0(r228992)
> @@ -46,7 +46,7 @@ static const char sccsid[] =3D "@(#)ctl_tr
>
> =A0/*
> =A0* SOCKDGRAM is unreliable, so we must repeat messages if we have
> - * not recieved an acknowledgement within a reasonable amount
> + * not received an acknowledgement within a reasonable amount

Merriam-Webster thinks it's "acknowledgment", but I always have to
double-check this one.

> =A0* of time
> =A0*/
> =A0void
>
> Modified: head/usr.bin/yacc/NEW_FEATURES
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/yacc/NEW_FEATURES =A0 =A0 =A0Fri Dec 30 10:59:15 2011 =
=A0 =A0 =A0 =A0(r228991)
> +++ head/usr.bin/yacc/NEW_FEATURES =A0 =A0 =A0Fri Dec 30 11:02:40 2011 =
=A0 =A0 =A0 =A0(r228992)
> @@ -1,3 +1,5 @@
> +$FreeBSD$
> +

NEWS, CHANGES, NEW_FEATURES, all similar, I suppose.

-Ben Kaduk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK2BMK4ToLOABdp3Rv7sAkv93XKHZ0pTBxHXPa=taio8xF2deg>