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...
Ben Kaduk
minimarmot at gmail.com
Fri Dec 30 20:11:26 UTC 2011
On Fri, Dec 30, 2011 at 6:02 AM, Ulrich Spoerlein <uqs at 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:
> Spelling fixes for usr.bin/
>
>
> Modified: head/usr.bin/lex/NEWS
> ==============================================================================
> --- head/usr.bin/lex/NEWS Fri Dec 30 10:59:15 2011 (r228991)
> +++ head/usr.bin/lex/NEWS Fri Dec 30 11:02:40 2011 (r228992)
> @@ -1,3 +1,5 @@
> +$FreeBSD$
> +
NEWS feels pretty similar to CHANGES, to me (viz r228990's comments)
> Changes between release 2.5.4 (11Sep96) and release 2.5.3:
>
> - 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
> given. To specify an end-of-file action for just the initial
> state, use <INITIAL><<EOF>>.
>
> - - -d debug output is now contigent on the global yy_flex_debug
> + - -d debug output is now contingent on the global yy_flex_debug
> being set to a non-zero value, which it is by default.
>
> - A new macro, YY_USER_INIT, is provided for the user to specify
> @@ -987,7 +989,7 @@ Changes between 2.3 (full) release of 28
> - yy_switch_to_buffer() can be used in the yywrap() macro/routine.
>
> - flex scanners do not use stdio for their input, and hence when
> - writing an interactive scanner one must explictly call fflush()
> + writing an interactive scanner one must explicitly call fflush()
> after writing out a prompt.
>
> - flex scanner can be made reentrant (after a fashion) by using
>
> Modified: head/usr.bin/locate/locate/util.c
> ==============================================================================
> --- head/usr.bin/locate/locate/util.c Fri Dec 30 10:59:15 2011 (r228991)
> +++ head/usr.bin/locate/locate/util.c Fri Dec 30 11:02:40 2011 (r228992)
> @@ -218,11 +218,11 @@ tolower_word(word)
>
>
> /*
> - * Read integer from mmap pointer.
> - * Essential a simple ``return *(int *)p'' but avoid sigbus
> + * Read integer from mmap pointer.
> + * Essential a simple ``return *(int *)p'' but avoid sigbus
I feel like this wants to be "Essentially ... avoids".
(Also, is trailing whitespace really "spelling"?)
> * for integer alignment (SunOS 4.x, 5.x).
> *
> - * Convert network byte order to host byte order if neccessary.
> + * Convert network byte order to host byte order if necessary.
> * So we can read on FreeBSD/i386 (little endian) a locate database
> * which was built on SunOS/sparc (big endian).
> */
> @@ -254,7 +254,7 @@ getwm(p)
> /*
> * Read integer from stream.
> *
> - * Convert network byte order to host byte order if neccessary.
> + * Convert network byte order to host byte order if necessary.
> * So we can read on FreeBSD/i386 (little endian) a locate database
> * which was built on SunOS/sparc (big endian).
> */
>
> Modified: head/usr.bin/mail/main.c
> ==============================================================================
> --- head/usr.bin/mail/main.c Fri Dec 30 10:59:15 2011 (r228991)
> +++ head/usr.bin/mail/main.c Fri Dec 30 11:02:40 2011 (r228992)
> @@ -259,7 +259,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc-
> if (ef == NULL)
> ef = "%";
> if (setfile(ef) <= 0)
> - /* Either an error has occured, or no mail */
> + /* Either an error has occurted, or no mail */
Just "occurred", no?
> exit(1);
> else
> exit(0);
>
> Modified: head/usr.bin/mail/util.c
> ==============================================================================
> --- head/usr.bin/mail/util.c Fri Dec 30 10:59:15 2011 (r228991)
> +++ head/usr.bin/mail/util.c Fri Dec 30 11:02:40 2011 (r228992)
> @@ -550,7 +550,7 @@ newname:
> }
>
> /*
> - * Count the occurances of c in str
> + * Count the occurrances of c in str
"occurrences", again.
> */
> int
> charcount(char *str, int c)
>
> Modified: head/usr.bin/talk/ctl_transact.c
> ==============================================================================
> --- head/usr.bin/talk/ctl_transact.c Fri Dec 30 10:59:15 2011 (r228991)
> +++ head/usr.bin/talk/ctl_transact.c Fri Dec 30 11:02:40 2011 (r228992)
> @@ -46,7 +46,7 @@ static const char sccsid[] = "@(#)ctl_tr
>
> /*
> * 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.
> * of time
> */
> void
>
> Modified: head/usr.bin/yacc/NEW_FEATURES
> ==============================================================================
> --- head/usr.bin/yacc/NEW_FEATURES Fri Dec 30 10:59:15 2011 (r228991)
> +++ head/usr.bin/yacc/NEW_FEATURES Fri Dec 30 11:02:40 2011 (r228992)
> @@ -1,3 +1,5 @@
> +$FreeBSD$
> +
NEWS, CHANGES, NEW_FEATURES, all similar, I suppose.
-Ben Kaduk
More information about the svn-src-head
mailing list