Source-Changes-HG archive

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

[src/trunk]: src Fix doubled 'the's.



details:   https://anonhg.NetBSD.org/src/rev/fd460189a1ae
branches:  trunk
changeset: 483595:fd460189a1ae
user:      soren <soren%NetBSD.org@localhost>
date:      Mon Mar 13 22:55:05 2000 +0000

description:
Fix doubled 'the's.

diffstat:

 games/fortune/datfiles/fortunes             |    2 +-
 games/fortune/datfiles/fortunes2            |   16 ++--
 games/fortune/datfiles/fortunes2-o.real     |    2 +-
 lib/libc/arch/alpha/gen/modf.c              |    4 +-
 lib/libc/arch/arm32/gen/modf.c              |    4 +-
 lib/libc/arch/mips/gen/sf_modf.c            |  104 ++++++++++++++++++++++++++++
 lib/libc/arch/powerpc/gen/modf.c            |    4 +-
 lib/libc/arch/sh3/gen/modf.c                |    4 +-
 lib/libc/sys/fhopen.2                       |    4 +-
 lib/libcrypt/crypt.c                        |    6 +-
 lib/libedit/refresh.c                       |    6 +-
 lib/libmenu/internals.c                     |    5 +-
 sbin/swapctl/swapctl.c                      |    4 +-
 share/doc/iso/ucb/addr.nr                   |    4 +-
 share/doc/iso/wisc/addr.nr                  |    4 +-
 share/doc/iso/wisc/trans_design.nr          |    4 +-
 share/doc/iso/wiscman/cons.4p               |    4 +-
 share/doc/iso/wiscman/tp.4p                 |    4 +-
 share/doc/papers/diskperf/conclusions.ms    |    4 +-
 share/doc/papers/diskperf/tests.ms          |    4 +-
 share/doc/papers/fsinterface/fsinterface.ms |    4 +-
 share/doc/papers/kernmalloc/kernmalloc.t    |    4 +-
 share/doc/papers/kerntune/1.t               |    4 +-
 share/doc/papers/newvm/a.t                  |    4 +-
 usr.bin/compress/doc/NOTES                  |    2 +-
 usr.bin/elf2aout/elf2aout.c                 |    4 +-
 usr.bin/elf2ecoff/elf2ecoff.c               |    4 +-
 usr.bin/less/less/screen.c                  |    4 +-
 usr.bin/lex/NEWS                            |    2 +-
 usr.bin/lex/misc.c                          |    4 +-
 usr.bin/mail/USD.doc/mail6.nr               |    4 +-
 usr.bin/make/lst.lib/lstConcat.c            |    8 +-
 usr.bin/vi/ex/ex_cd.c                       |    4 +-
 usr.bin/vi/vi/v_scroll.c                    |    4 +-
 usr.bin/vi/vi/vs_refresh.c                  |    6 +-
 usr.bin/xlint/lint1/decl.c                  |    4 +-
 usr.bin/xlint/lint1/mem1.c                  |    6 +-
 usr.sbin/amd/amd/sched.c                    |    4 +-
 usr.sbin/amd/doc/am-utils.texi              |    4 +-
 usr.sbin/mrouted/route.c                    |    5 +-
 usr.sbin/pim6dd/mrt.c                       |    6 +-
 usr.sbin/pim6dd/timer.c                     |    4 +-
 usr.sbin/pim6sd/mrt.c                       |    6 +-
 usr.sbin/pkg_install/create/pkg_create.1    |    4 +-
 usr.sbin/user/userdel.8                     |    4 +-
 usr.sbin/xntp/html/driver8.html             |    4 +-
 usr.sbin/xntp/html/parsenew.html            |    4 +-
 usr.sbin/xntp/include/ntp.h                 |    4 +-
 usr.sbin/xntp/xntpd/refclock_arbiter.c      |    4 +-
 usr.sbin/xntp/xntpd/refclock_arc.c          |    4 +-
 usr.sbin/xntp/xntpd/refclock_mx4200.c       |    4 +-
 51 files changed, 214 insertions(+), 112 deletions(-)

diffs (truncated from 1090 to 300 lines):

diff -r 8fd01e61031a -r fd460189a1ae games/fortune/datfiles/fortunes
--- a/games/fortune/datfiles/fortunes   Mon Mar 13 22:53:22 2000 +0000
+++ b/games/fortune/datfiles/fortunes   Mon Mar 13 22:55:05 2000 +0000
@@ -3836,7 +3836,7 @@
 below your address label. (d) Then print on your 3x5 card, above your
 computer-printed name and address the words "CARTER & VAN PEEL
 SWEEPSTAKES" (Use all capital letters.)  (e) Finally place 3x5 card
-(without bending) into a plain envelope [NOTE: do NOT use the the
+(without bending) into a plain envelope [NOTE: do NOT use the
 Official Prize Claim and CVP Perfume Reply Envelope or you may be
 disqualified], and mail to: CVP, Box 1320, Westbury, NY 11595.  Print
 this address correctly.  Comply with above instructions carefully and
diff -r 8fd01e61031a -r fd460189a1ae games/fortune/datfiles/fortunes2
--- a/games/fortune/datfiles/fortunes2  Mon Mar 13 22:53:22 2000 +0000
+++ b/games/fortune/datfiles/fortunes2  Mon Mar 13 22:55:05 2000 +0000
@@ -636,7 +636,7 @@
 After being reported missing a day or two later, rangers found two bears,
 one a male, one a female, looking suspiciously overstuffed.  They killed
 the female, autopsied her, and sure enough, found the German and the Pole.
-       "What do you think?" said the the first ranger.
+       "What do you think?" said the first ranger.
        "The Czech is in the male," replied the second.
 %
        A group of soldiers being prepared for a practice landing on a tropical
@@ -14023,7 +14023,7 @@
 there, and a "comp" group will propagate your article further.)
        You may also find it is more fun to post the article once in each
 group.  If you list all the newsgroups in the same article, some newsreaders
-will only show the the article to the reader once!  Don't tolerate this.
+will only show the article to the reader once!  Don't tolerate this.
                -- Emily Postnews Answers Your Questions on Netiquette
 %
 Dear Emily:
@@ -16317,8 +16317,8 @@
 respect to theories about how the process operates.
                -- Martin Gardner, "Irving Kristol and the Facts of Life". 
 %
-Examinations are formidable even to the best prepared, for
-even the greatest fool may ask more the the wisest man can answer.
+Examinations are formidable even to the best prepared, for even
+the greatest fool may ask more than the wisest man can answer.
                -- C.C. Colton
 %
 Example is not the main thing in influencing others.
@@ -18328,10 +18328,10 @@
 exceptions for which I beg your indulgence.
        Unfortunately the sum of one shilling and ninepence remains unaccounted
 for in one infantry battalion's petty cash and there has been a hideous
-confusion as the the number of jars of raspberry jam issued to one cavalry
-regiment during a sandstorm in western Spain.  This reprehensible carelessness
-may be related to the pressure of circumstance, since we are war with France, a
-fact which may come as a bit of a surprise to you gentlemen in Whitehall.
+confusion as the number of jars of raspberry jam issued to one cavalry regiment
+during a sandstorm in western Spain.  This reprehensible carelessness may be
+related to the pressure of circumstance, since we are war with France, a fact
+which may come as a bit of a surprise to you gentlemen in Whitehall.
        This brings me to my present purpose, which is to request elucidation of
 my instructions from His Majesty's Government so that I may better understand
 why I am dragging an army over these barren plains.  I construe that perforce it
diff -r 8fd01e61031a -r fd460189a1ae games/fortune/datfiles/fortunes2-o.real
--- a/games/fortune/datfiles/fortunes2-o.real   Mon Mar 13 22:53:22 2000 +0000
+++ b/games/fortune/datfiles/fortunes2-o.real   Mon Mar 13 22:55:05 2000 +0000
@@ -614,7 +614,7 @@
 %
        An Israeli soldier was checking travelers' papers on a road, when a 
 man and a heavily pregnant woman on a donkey came by.  "Your names please?" 
-said the the soldier.
+said the soldier.
        "My name is Mary," said the woman.  
        "And mine is Joseph," said the man.  
        "Oh," said the soldier, a little taken aback, "And where are you
diff -r 8fd01e61031a -r fd460189a1ae lib/libc/arch/alpha/gen/modf.c
--- a/lib/libc/arch/alpha/gen/modf.c    Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libc/arch/alpha/gen/modf.c    Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: modf.c,v 1.1 1995/02/10 17:50:25 cgd Exp $     */
+/*     $NetBSD: modf.c,v 1.2 2000/03/13 22:59:20 soren Exp $   */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -83,7 +83,7 @@
         * If you look at the math involved for a few seconds, it's
         * plain to see that the integral part is the input, with the
         * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
-        * the the fractional part is the part with the rest of the
+        * the fractional part is the part with the rest of the
         * bits zeroed.  Just zeroing the high bits to get the
         * fractional part would yield a fraction in need of
         * normalization.  Therefore, we take the easy way out, and
diff -r 8fd01e61031a -r fd460189a1ae lib/libc/arch/arm32/gen/modf.c
--- a/lib/libc/arch/arm32/gen/modf.c    Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libc/arch/arm32/gen/modf.c    Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: modf.c,v 1.2 1997/10/06 00:18:34 mark Exp $    */
+/*     $NetBSD: modf.c,v 1.3 2000/03/13 22:59:21 soren Exp $   */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -83,7 +83,7 @@
         * If you look at the math involved for a few seconds, it's
         * plain to see that the integral part is the input, with the
         * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
-        * the the fractional part is the part with the rest of the
+        * the fractional part is the part with the rest of the
         * bits zeroed.  Just zeroing the high bits to get the
         * fractional part would yield a fraction in need of
         * normalization.  Therefore, we take the easy way out, and
diff -r 8fd01e61031a -r fd460189a1ae lib/libc/arch/mips/gen/sf_modf.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libc/arch/mips/gen/sf_modf.c  Mon Mar 13 22:55:05 2000 +0000
@@ -0,0 +1,104 @@
+/*     $NetBSD: sf_modf.c,v 1.3 2000/03/13 22:59:21 soren Exp $        */
+
+/*
+ * Copyright (c) 1994, 1995 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ * 
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ * 
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 
+ * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ * 
+ * Carnegie Mellon requests users of this software to return to
+ *
+ *  Software Distribution Coordinator  or  Software.Distribution%CS.CMU.EDU@localhost
+ *  School of Computer Science
+ *  Carnegie Mellon University
+ *  Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ */
+
+#include <sys/types.h>
+#include "ieee.h"
+#include <errno.h>
+#include <math.h>
+
+/*
+ * double modf(double val, double *iptr)
+ * returns: f and i such that |f| < 1.0, (f + i) = val, and
+ *     sign(f) == sign(i) == sign(val).
+ *
+ * Beware signedness when doing subtraction, and also operand size!
+ */
+double
+modf(val, iptr)
+       double val, *iptr;
+{
+       union doub {
+               double v;
+               struct ieee_double s;
+       } u, v;
+       u_int64_t frac;
+
+       /*
+        * If input is Inf or NaN, return it and leave i alone.
+        */
+       u.v = val;
+       if (u.s.dbl_exp == DBL_EXP_INFNAN)
+               return (u.v);
+
+       /*
+        * If input can't have a fractional part, return
+        * (appropriately signed) zero, and make i be the input.
+        */
+       if ((int)u.s.dbl_exp - DBL_EXP_BIAS > DBL_FRACBITS - 1) {
+               *iptr = u.v;
+               v.v = 0.0;
+               v.s.dbl_sign = u.s.dbl_sign;
+               return (v.v);
+       }
+
+       /*
+        * If |input| < 1.0, return it, and set i to the appropriately
+        * signed zero.
+        */
+       if (u.s.dbl_exp < DBL_EXP_BIAS) {
+               v.v = 0.0;
+               v.s.dbl_sign = u.s.dbl_sign;
+               *iptr = v.v;
+               return (u.v);
+       }
+
+       /*
+        * There can be a fractional part of the input.
+        * If you look at the math involved for a few seconds, it's
+        * plain to see that the integral part is the input, with the
+        * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
+        * the fractional part is the part with the rest of the
+        * bits zeroed.  Just zeroing the high bits to get the
+        * fractional part would yield a fraction in need of
+        * normalization.  Therefore, we take the easy way out, and
+        * just use subtraction to get the fractional part.
+        */
+       v.v = u.v;
+       /* Zero the low bits of the fraction, the sleazy way. */
+       frac = ((u_int64_t)v.s.dbl_frach << 32) + v.s.dbl_fracl;
+       frac >>= DBL_FRACBITS - (u.s.dbl_exp - DBL_EXP_BIAS);
+       frac <<= DBL_FRACBITS - (u.s.dbl_exp - DBL_EXP_BIAS);
+       v.s.dbl_fracl = frac & 0xffffffff;
+       v.s.dbl_frach = frac >> 32;
+       *iptr = v.v;
+
+       u.v -= v.v;
+       u.s.dbl_sign = v.s.dbl_sign;
+       return (u.v);
+}
diff -r 8fd01e61031a -r fd460189a1ae lib/libc/arch/powerpc/gen/modf.c
--- a/lib/libc/arch/powerpc/gen/modf.c  Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libc/arch/powerpc/gen/modf.c  Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: modf.c,v 1.1 1998/11/26 07:50:56 sakamoto Exp $        */
+/*     $NetBSD: modf.c,v 1.2 2000/03/13 22:59:21 soren Exp $   */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -83,7 +83,7 @@
         * If you look at the math involved for a few seconds, it's
         * plain to see that the integral part is the input, with the
         * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
-        * the the fractional part is the part with the rest of the
+        * the fractional part is the part with the rest of the
         * bits zeroed.  Just zeroing the high bits to get the
         * fractional part would yield a fraction in need of
         * normalization.  Therefore, we take the easy way out, and
diff -r 8fd01e61031a -r fd460189a1ae lib/libc/arch/sh3/gen/modf.c
--- a/lib/libc/arch/sh3/gen/modf.c      Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libc/arch/sh3/gen/modf.c      Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: modf.c,v 1.1 2000/01/05 14:07:33 msaitoh Exp $ */
+/*     $NetBSD: modf.c,v 1.2 2000/03/13 22:59:21 soren Exp $   */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -83,7 +83,7 @@
         * If you look at the math involved for a few seconds, it's
         * plain to see that the integral part is the input, with the
         * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
-        * the the fractional part is the part with the rest of the
+        * the fractional part is the part with the rest of the
         * bits zeroed.  Just zeroing the high bits to get the
         * fractional part would yield a fraction in need of
         * normalization.  Therefore, we take the easy way out, and
diff -r 8fd01e61031a -r fd460189a1ae lib/libc/sys/fhopen.2
--- a/lib/libc/sys/fhopen.2     Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libc/sys/fhopen.2     Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fhopen.2,v 1.2 1999/12/02 21:42:36 kleink Exp $
+.\"    $NetBSD: fhopen.2,v 1.3 2000/03/13 22:59:21 soren Exp $
 .\"
 .\" Copyright (c) 1999 National Aeronautics & Space Administration
 .\" All rights reserved.
@@ -14,7 +14,7 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
-.\" 3. Neither the the name of the National Aeronautics & Space Administration
+.\" 3. Neither the name of the National Aeronautics & Space Administration
 .\"    nor the names of its contributors may be used to endorse or promote
 .\"    products derived from this software without specific prior written
 .\"    permission.
diff -r 8fd01e61031a -r fd460189a1ae lib/libcrypt/crypt.c
--- a/lib/libcrypt/crypt.c      Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libcrypt/crypt.c      Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crypt.c,v 1.13 1998/10/20 02:02:30 matt Exp $  */
+/*     $NetBSD: crypt.c,v 1.14 2000/03/13 22:59:22 soren Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)crypt.c    8.1.1.1 (Berkeley) 8/18/93";
 #else
-__RCSID("$NetBSD: crypt.c,v 1.13 1998/10/20 02:02:30 matt Exp $");
+__RCSID("$NetBSD: crypt.c,v 1.14 2000/03/13 22:59:22 soren Exp $");
 #endif
 #endif /* not lint */
 
@@ -609,7 +609,7 @@
 
 /*
  * Encrypt (or decrypt if num_iter < 0) the 8 chars at "in" with abs(num_iter)
- * iterations of DES, using the the given 24-bit salt and the pre-computed key
+ * iterations of DES, using the given 24-bit salt and the pre-computed key
  * schedule, and store the resulting 8 chars at "out" (in == out is permitted).
  *
  * NOTE: the performance of this routine is critically dependent on your
diff -r 8fd01e61031a -r fd460189a1ae lib/libedit/refresh.c
--- a/lib/libedit/refresh.c     Mon Mar 13 22:53:22 2000 +0000
+++ b/lib/libedit/refresh.c     Mon Mar 13 22:55:05 2000 +0000
@@ -1,4 +1,4 @@



Home | Main Index | Thread Index | Old Index