summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/csu/m88k/crt0.c6
-rw-r--r--lib/libc/arch/alpha/gen/modf.c6
-rw-r--r--lib/libc/arch/m88k/sys/sigsuspend.S6
-rw-r--r--lib/libc/arch/vax/string/index.S4
-rw-r--r--lib/libc/gen/nlist.c4
-rw-r--r--lib/libcurses/doc/hackguide.html2
-rw-r--r--lib/libcurses/doc/ncurses-intro.html2
-rw-r--r--lib/libcurses/tinfo/parse_entry.c4
-rw-r--r--lib/libdes/asm/readme2
-rw-r--r--lib/libdes/fcrypt.c2
-rw-r--r--lib/libevent/kqueue.c6
-rw-r--r--lib/libevent/sample/event-test.c6
-rw-r--r--lib/libevent/sample/signal-test.c6
-rw-r--r--lib/libevent/sample/time-test.c6
-rw-r--r--lib/libevent/test/test-eof.c6
-rw-r--r--lib/libevent/test/test-time.c6
-rw-r--r--lib/libevent/test/test-weof.c6
-rw-r--r--lib/libz/deflate.c6
18 files changed, 43 insertions, 43 deletions
diff --git a/lib/csu/m88k/crt0.c b/lib/csu/m88k/crt0.c
index 9e24c29de35..903b05ff0a0 100644
--- a/lib/csu/m88k/crt0.c
+++ b/lib/csu/m88k/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.2 2003/02/28 18:05:51 deraadt Exp $ */
+/* $OpenBSD: crt0.c,v 1.3 2003/03/10 04:02:49 david Exp $ */
/*
* Mach Operating System
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: crt0.c,v 1.2 2003/02/28 18:05:51 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: crt0.c,v 1.3 2003/03/10 04:02:49 david Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -69,7 +69,7 @@ static char rcsid[] = "$OpenBSD: crt0.c,v 1.2 2003/02/28 18:05:51 deraadt Exp $"
* | 0x00000000 | <- end-of-ENVP-list marker (not redundant!).
* +-------------------+
*
- * We use 'start:' to grab r31 and and call real_start(argc, argv, envp).
+ * We use 'start:' to grab r31 and call real_start(argc, argv, envp).
* We must do this since the function prologue makes finding the initial
* r31 difficult in C.
*/
diff --git a/lib/libc/arch/alpha/gen/modf.c b/lib/libc/arch/alpha/gen/modf.c
index 996253b2fe3..553e348c529 100644
--- a/lib/libc/arch/alpha/gen/modf.c
+++ b/lib/libc/arch/alpha/gen/modf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modf.c,v 1.3 1996/11/13 21:20:21 niklas Exp $ */
+/* $OpenBSD: modf.c,v 1.4 2003/03/10 04:02:49 david Exp $ */
/* $NetBSD: modf.c,v 1.1 1995/02/10 17:50:25 cgd Exp $ */
/*
@@ -29,7 +29,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: modf.c,v 1.3 1996/11/13 21:20:21 niklas Exp $";
+static char *rcsid = "$OpenBSD: modf.c,v 1.4 2003/03/10 04:02:49 david Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -88,7 +88,7 @@ modf(val, iptr)
* 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 --git a/lib/libc/arch/m88k/sys/sigsuspend.S b/lib/libc/arch/m88k/sys/sigsuspend.S
index f9ecec61330..b4fc8038c13 100644
--- a/lib/libc/arch/m88k/sys/sigsuspend.S
+++ b/lib/libc/arch/m88k/sys/sigsuspend.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigsuspend.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
+/* $OpenBSD: sigsuspend.S,v 1.6 2003/03/10 04:02:49 david Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -39,13 +39,13 @@
#if defined(LIBC_SCCS)
.data
- .string "$OpenBSD: sigsuspend.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+ .string "$OpenBSD: sigsuspend.S,v 1.6 2003/03/10 04:02:49 david Exp $"
#endif /* LIBC_SCCS */
#include "SYS.h"
/*
- * Sigsuspend actually expects a pointer to the the mask. To save
+ * Sigsuspend actually expects a pointer to the mask. To save
* a copyin in the kernel, we do the dereference here and pass it.
* This will be fail if we ever have more than 32 signals ie. sizeof
* sigset_t != sizeof int.
diff --git a/lib/libc/arch/vax/string/index.S b/lib/libc/arch/vax/string/index.S
index 378f23d3512..2b8b72aefa1 100644
--- a/lib/libc/arch/vax/string/index.S
+++ b/lib/libc/arch/vax/string/index.S
@@ -33,11 +33,11 @@
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: index.S,v 1.2 1996/08/19 08:18:49 tholo Exp $"
+ .asciz "$OpenBSD: index.S,v 1.3 2003/03/10 04:02:49 david Exp $"
#endif /* LIBC_SCCS */
/*
- * Find the first occurence of c in the string cp.
+ * Find the first occurrence of c in the string cp.
* Return pointer to match or null pointer.
*
* char *
diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c
index 4c541381c15..6f596d069d4 100644
--- a/lib/libc/gen/nlist.c
+++ b/lib/libc/gen/nlist.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: nlist.c,v 1.42 2002/06/11 06:39:47 art Exp $";
+static char rcsid[] = "$OpenBSD: nlist.c,v 1.43 2003/03/10 04:02:49 david Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -284,7 +284,7 @@ __elf_is_okay__(ehdr)
* We need to check magic, class size, endianess,
* and version before we look at the rest of the
* Elf_Ehdr structure. These few elements are
- * represented in a machine independant fashion.
+ * represented in a machine independent fashion.
*/
if ((IS_ELF(*ehdr) || IS_OLF(*ehdr)) &&
ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS &&
diff --git a/lib/libcurses/doc/hackguide.html b/lib/libcurses/doc/hackguide.html
index c52dd5b171f..4e1d237f3b7 100644
--- a/lib/libcurses/doc/hackguide.html
+++ b/lib/libcurses/doc/hackguide.html
@@ -558,7 +558,7 @@ Then <CODE>lib_doupdate.c</CODE> goes to work. Its job is to do line-by-line
transformations of <CODE>curscr</CODE> lines to <CODE>newscr</CODE> lines. Its main
tool is the routine <CODE>mvcur()</CODE> in <CODE>lib_mvcur.c</CODE>. This routine
does cursor-movement optimization, attempting to get from given screen
-location A to given location B in the fewest output characters posible. <P>
+location A to given location B in the fewest output characters possible. <P>
If you want to work on screen optimizations, you should use the fact
that (in the trace-enabled version of the library) enabling the
diff --git a/lib/libcurses/doc/ncurses-intro.html b/lib/libcurses/doc/ncurses-intro.html
index c16ecdd19bc..f6d505a50ad 100644
--- a/lib/libcurses/doc/ncurses-intro.html
+++ b/lib/libcurses/doc/ncurses-intro.html
@@ -978,7 +978,7 @@ on and refresh them, the changes made to the overlapping region under historic
To understand why this is a problem, remember that screen updates are
calculated between two representations of the <EM>entire</EM> display. The
-documentation says that when you refresh a window, it is first copied to to the
+documentation says that when you refresh a window, it is first copied to the
virtual screen, and then changes are calculated to update the physical screen
(and applied to the terminal). But "copied to" is not very specific, and
subtle differences in how copying works can produce different behaviors in the
diff --git a/lib/libcurses/tinfo/parse_entry.c b/lib/libcurses/tinfo/parse_entry.c
index 724c9969871..5d077f242b1 100644
--- a/lib/libcurses/tinfo/parse_entry.c
+++ b/lib/libcurses/tinfo/parse_entry.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse_entry.c,v 1.10 2001/02/22 04:37:56 millert Exp $ */
+/* $OpenBSD: parse_entry.c,v 1.11 2003/03/10 04:02:49 david Exp $ */
/****************************************************************************
* Copyright (c) 1998,1999,2000 Free Software Foundation, Inc. *
@@ -190,7 +190,7 @@ _nc_extend_names(ENTRY * entryp, char *name, int token_type)
* if the token was not a name in column 1, complain and die
* save names in entry's string table
* while (get_token() is not EOF and not NAMES)
- * check for existance and type-correctness
+ * check for existence and type-correctness
* enter cap into structure
* if STRING
* save string in entry's string table
diff --git a/lib/libdes/asm/readme b/lib/libdes/asm/readme
index bb1a8e9956f..93fc13b83f9 100644
--- a/lib/libdes/asm/readme
+++ b/lib/libdes/asm/readme
@@ -2,7 +2,7 @@ First up, let me say I don't like writing in assembler. It is not portable,
dependant on the particular CPU architecture release and is generally a pig
to debug and get right. Having said that, the x86 architecture is probably
the most important for speed due to number of boxes and since
-it appears to be the worst architecture to to get
+it appears to be the worst architecture to get
good C compilers for. So due to this, I have lowered myself to do
assembler for the inner DES routines in libdes :-).
diff --git a/lib/libdes/fcrypt.c b/lib/libdes/fcrypt.c
index 01d81a317f5..e5cf11eacec 100644
--- a/lib/libdes/fcrypt.c
+++ b/lib/libdes/fcrypt.c
@@ -59,7 +59,7 @@
#include <stdio.h>
/* Eric Young.
- * This version of crypt has been developed from my MIT compatable
+ * This version of crypt has been developed from my MIT compatible
* DES library.
* The library is available at pub/Crypto/DES at ftp.psy.uq.oz.au
* eay@mincom.oz.au or eay@psych.psy.uq.oz.au
diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c
index 6889490036e..535837a8fe1 100644
--- a/lib/libevent/kqueue.c
+++ b/lib/libevent/kqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kqueue.c,v 1.6 2002/09/08 07:52:33 itojun Exp $ */
+/* $OpenBSD: kqueue.c,v 1.7 2003/03/10 04:02:50 david Exp $ */
/*
* Copyright 2000-2002 Niels Provos <provos@citi.umich.edu>
@@ -93,7 +93,7 @@ kq_init(void)
memset(&kqop, 0, sizeof(kqop));
- /* Initalize the kernel queue */
+ /* Initialize the kernel queue */
if ((kq = kqueue()) == -1) {
log_error("kqueue");
@@ -102,7 +102,7 @@ kq_init(void)
kqop.kq = kq;
- /* Initalize fields */
+ /* Initialize fields */
kqop.changes = malloc(NEVENT * sizeof(struct kevent));
if (kqop.changes == NULL)
return (NULL);
diff --git a/lib/libevent/sample/event-test.c b/lib/libevent/sample/event-test.c
index 6f7d5d9a676..e0cd9445feb 100644
--- a/lib/libevent/sample/event-test.c
+++ b/lib/libevent/sample/event-test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: event-test.c,v 1.2 2002/06/25 15:50:16 mickey Exp $ */
+/* $OpenBSD: event-test.c,v 1.3 2003/03/10 04:02:50 david Exp $ */
/*
* Compile with:
@@ -80,10 +80,10 @@ main (int argc, char **argv)
fprintf(stderr, "Write data to %s\n", fifo);
- /* Initalize the event library */
+ /* Initialize the event library */
event_init();
- /* Initalize one event */
+ /* Initialize one event */
event_set(&evfifo, socket, EV_READ, fifo_read, &evfifo);
/* Add it to the active events, without a timeout */
diff --git a/lib/libevent/sample/signal-test.c b/lib/libevent/sample/signal-test.c
index 29941b60074..d0add2aed7d 100644
--- a/lib/libevent/sample/signal-test.c
+++ b/lib/libevent/sample/signal-test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal-test.c,v 1.2 2002/06/25 15:50:16 mickey Exp $ */
+/* $OpenBSD: signal-test.c,v 1.3 2003/03/10 04:02:50 david Exp $ */
/*
* Compile with:
@@ -39,10 +39,10 @@ main (int argc, char **argv)
{
struct event signal_int;
- /* Initalize the event library */
+ /* Initialize the event library */
event_init();
- /* Initalize one event */
+ /* Initialize one event */
event_set(&signal_int, SIGINT, EV_SIGNAL|EV_PERSIST, signal_cb,
&signal_int);
diff --git a/lib/libevent/sample/time-test.c b/lib/libevent/sample/time-test.c
index b4d651c0eee..6643e513c89 100644
--- a/lib/libevent/sample/time-test.c
+++ b/lib/libevent/sample/time-test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: time-test.c,v 1.2 2002/06/25 15:50:16 mickey Exp $ */
+/* $OpenBSD: time-test.c,v 1.3 2003/03/10 04:02:50 david Exp $ */
/*
* Compile with:
@@ -42,10 +42,10 @@ main (int argc, char **argv)
struct event timeout;
struct timeval tv;
- /* Initalize the event library */
+ /* Initialize the event library */
event_init();
- /* Initalize one event */
+ /* Initialize one event */
timeout_set(&timeout, timeout_cb, &timeout);
timerclear(&tv);
diff --git a/lib/libevent/test/test-eof.c b/lib/libevent/test/test-eof.c
index 85cbe0f01f6..b9e83cbf5ff 100644
--- a/lib/libevent/test/test-eof.c
+++ b/lib/libevent/test/test-eof.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test-eof.c,v 1.2 2002/06/25 15:50:16 mickey Exp $ */
+/* $OpenBSD: test-eof.c,v 1.3 2003/03/10 04:02:50 david Exp $ */
/*
* Compile with:
@@ -55,10 +55,10 @@ main (int argc, char **argv)
write(pair[0], test, strlen(test)+1);
shutdown(pair[0], SHUT_WR);
- /* Initalize the event library */
+ /* Initialize the event library */
event_init();
- /* Initalize one event */
+ /* Initialize one event */
event_set(&ev, pair[1], EV_READ, read_cb, &ev);
event_add(&ev, NULL);
diff --git a/lib/libevent/test/test-time.c b/lib/libevent/test/test-time.c
index 760f32f3a1b..8fff03baff8 100644
--- a/lib/libevent/test/test-time.c
+++ b/lib/libevent/test/test-time.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test-time.c,v 1.2 2002/06/25 15:50:16 mickey Exp $ */
+/* $OpenBSD: test-time.c,v 1.3 2003/03/10 04:02:50 david Exp $ */
/*
* Compile with:
@@ -50,13 +50,13 @@ main (int argc, char **argv)
struct timeval tv;
int i;
- /* Initalize the event library */
+ /* Initialize the event library */
event_init();
for (i = 0; i < NEVENT; i++) {
ev[i] = malloc(sizeof(struct event));
- /* Initalize one event */
+ /* Initialize one event */
timeout_set(ev[i], time_cb, ev[i]);
tv.tv_sec = 0;
tv.tv_usec = random() % 50000L;
diff --git a/lib/libevent/test/test-weof.c b/lib/libevent/test/test-weof.c
index bbe3a318021..a7a2c4be0e8 100644
--- a/lib/libevent/test/test-weof.c
+++ b/lib/libevent/test/test-weof.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test-weof.c,v 1.2 2002/06/25 15:50:16 mickey Exp $ */
+/* $OpenBSD: test-weof.c,v 1.3 2003/03/10 04:02:50 david Exp $ */
/*
* Compile with:
@@ -55,10 +55,10 @@ main (int argc, char **argv)
if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
return (1);
- /* Initalize the event library */
+ /* Initialize the event library */
event_init();
- /* Initalize one event */
+ /* Initialize one event */
event_set(&ev, pair[1], EV_WRITE, write_cb, &ev);
event_add(&ev, NULL);
diff --git a/lib/libz/deflate.c b/lib/libz/deflate.c
index 7b1715d78f8..c6d0de345bb 100644
--- a/lib/libz/deflate.c
+++ b/lib/libz/deflate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: deflate.c,v 1.5 2002/03/12 00:25:57 millert Exp $ */
+/* $OpenBSD: deflate.c,v 1.6 2003/03/10 04:02:50 david Exp $ */
/* deflate.c -- compress data using the deflation algorithm
* Copyright (C) 1995-2002 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
@@ -149,7 +149,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */
/* ===========================================================================
* Update a hash value with the given input byte
- * IN assertion: all calls to to UPDATE_HASH are made with consecutive
+ * IN assertion: all calls to UPDATE_HASH are made with consecutive
* input characters, so that a running hash key can be computed from the
* previous key instead of complete recalculation each time.
*/
@@ -162,7 +162,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */
* the previous length of the hash chain.
* If this file is compiled with -DFASTEST, the compression level is forced
* to 1, and no hash chains are maintained.
- * IN assertion: all calls to to INSERT_STRING are made with consecutive
+ * IN assertion: all calls to INSERT_STRING are made with consecutive
* input characters and the first MIN_MATCH bytes of str are valid
* (except for the last MIN_MATCH-1 bytes of the input file).
*/