summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-05-19 01:52:59 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-05-19 01:54:21 +0300
commit6afeb18117c451fd273b1a9534c0fba0af13ce0a (patch)
treee6f1f9c73b68c119572dd09e1ee78a63698b1ac6 /doc
parentbaf4932161ca6dc32a59d89be52a89517a97d152 (diff)
downloadbdwgc-6afeb18117c451fd273b1a9534c0fba0af13ce0a.tar.gz
Fix various typos in doc/README and .html files
* doc/README.Mac: Fix a typo ("command-line"). * doc/README.amiga: Fix typos ("recommendation", "compiling", "favorably"). * doc/README.cords: Fix a typo ("and"). * doc/README.macros: Fix a typo ("canceled"). * doc/README.sgi: Fix a typo ("related"). * doc/README.solaris2: Fix a typo ("offset"). * doc/leak.html: Fix a typo ("e.g."). * doc/overview.html: Fix a typo ("December"). * doc/porting.html: Fix typos ("not supported yet", "signaled", "not defined yet"). * doc/scale.html: Fix typos ("free", "busy-waiting"). * doc/simple_example.html: Fix a typo ("have not yet"). * tests/test_cpp.cc (main): Fix a typo ("command line") in comment.
Diffstat (limited to 'doc')
-rw-r--r--doc/README.Mac2
-rw-r--r--doc/README.amiga6
-rw-r--r--doc/README.cords2
-rw-r--r--doc/README.macros2
-rw-r--r--doc/README.sgi2
-rw-r--r--doc/README.solaris22
-rw-r--r--doc/leak.html2
-rw-r--r--doc/overview.html2
-rw-r--r--doc/porting.html6
-rw-r--r--doc/scale.html4
-rw-r--r--doc/simple_example.html2
11 files changed, 16 insertions, 16 deletions
diff --git a/doc/README.Mac b/doc/README.Mac
index 5ceeb588..fd972cf7 100644
--- a/doc/README.Mac
+++ b/doc/README.Mac
@@ -126,7 +126,7 @@ o 68K Linker
Prefix Files to configure the GC sources
----------------------------------------
-The Codewarrior equivalent of commandline compilers -DNAME=X is to use
+The Codewarrior equivalent of command-line compilers -DNAME=X is to use
prefix-files. A TEXT file that is automatically #included before the first byte
of every source file. I used these:
diff --git a/doc/README.amiga b/doc/README.amiga
index da1c95bb..fb9aacc9 100644
--- a/doc/README.amiga
+++ b/doc/README.amiga
@@ -62,7 +62,7 @@ WHATS NEW:
program, and prints out the info when the atexit-handler
is called.
- My reccomendation is to set all this flags, except GC_AMIGA_PRINTSTATS and
+ My recommendation is to set all this flags, except GC_AMIGA_PRINTSTATS and
GC_AMIGA_ONLYFAST.
If your program demands high response-time, you should
@@ -70,7 +70,7 @@ WHATS NEW:
GC_AMIGA_RETRY does not seem to slow down much.
Also, when compiling up programs, and GC_AMIGA_FASTALLOC was not defined when
- compilling gc, you can define GC_AMIGA_MAKINGLIB to avoid having these allocation-
+ compiling gc, you can define GC_AMIGA_MAKINGLIB to avoid having these allocation-
functions wrapped. (see gc.h)
Note that GC_realloc must not be called before any of
@@ -282,7 +282,7 @@ The library as it stands is compatible with the GigaMem commercial
virtual memory software, and probably similar PD software.
The performance of "gctest" on an Amiga 2630 (68030 @ 25Mhz)
-compares favourably with an HP9000 with similar architecture (a 325
+compares favorably with an HP9000 with similar architecture (a 325
with a 68030 I think).
-----------------------------------------------------------------------
diff --git a/doc/README.cords b/doc/README.cords
index b574deda..db88b4c4 100644
--- a/doc/README.cords
+++ b/doc/README.cords
@@ -40,7 +40,7 @@ almost a screen. It does not understand tabs, which will show
up as highlighted "I"s. Use the UNIX "expand" program first.)
To build the editor, type "make cord/de" in the gc directory.
-Note that CORD_printf iand friends use C functions with variable numbers
+Note that CORD_printf and friends use C functions with variable numbers
of arguments in non-standard-conforming ways. This code is known to
break on some platforms, notably PowerPC. It should be possible to
build the remainder of the library (everything but cordprnt.c) on
diff --git a/doc/README.macros b/doc/README.macros
index 3040f3e8..191537fe 100644
--- a/doc/README.macros
+++ b/doc/README.macros
@@ -577,7 +577,7 @@ GC_FULL_FREQ=<value> Set alternate default number of partial collections
NO_CANCEL_SAFE (Posix platforms with threads only) Don't bother trying
to make the collector safe for thread cancellation; cancellation is not
used. (Note that if cancellation is used anyway, threads may end up
- getting cancelled in unexpected places.) Even without this option,
+ getting canceled in unexpected places.) Even without this option,
PTHREAD_CANCEL_ASYNCHRONOUS is never safe with the collector. (We could
argue about its safety without the collector.)
diff --git a/doc/README.sgi b/doc/README.sgi
index 98c79011..ac732ddb 100644
--- a/doc/README.sgi
+++ b/doc/README.sgi
@@ -27,7 +27,7 @@ include gc.h. Gc.h redefines some of the pthread primitives as macros which
also provide the collector with information it requires.
4) pthread_cond_wait and pthread_cond_timed_wait should be prepared for
-premature wakeups. (I believe the pthreads and realted standards require this
+premature wakeups. (I believe the pthreads and related standards require this
anyway. Irix pthreads often terminate a wait if a signal arrives.
The garbage collector uses signals to stop threads.)
diff --git a/doc/README.solaris2 b/doc/README.solaris2
index cd2d9f67..b150f9c2 100644
--- a/doc/README.solaris2
+++ b/doc/README.solaris2
@@ -58,7 +58,7 @@ have it invoke the garbage-collector's allocators only after main has started.
(Note that the latter requires a moderately expensive test in operator
delete.)
-I encountered "symbol <unknown>: offet .... is non-aligned" errors. These
+I encountered "symbol <unknown>: offset .... is non-aligned" errors. These
appear to be traceable to the use of the GNU assembler with the Sun linker.
The former appears to generate a relocation not understood by the latter.
The fix appears to be to use a consistent tool chain. (As a non-Solaris-expert
diff --git a/doc/leak.html b/doc/leak.html
index d6e8a4c5..43bc66d5 100644
--- a/doc/leak.html
+++ b/doc/leak.html
@@ -68,7 +68,7 @@ at least the file name and line number at the allocation point to
be saved as part of the object. Leak reports will then also include
this information.
<P>
-Many collector features (<I>e.g</i> stubborn objects, finalization,
+Many collector features (<I>e.g.</i> stubborn objects, finalization,
and disappearing links) are less useful in this context, and are not
fully supported. Their use will usually generate additional bogus
leak reports, since the collector itself drops some associated objects.
diff --git a/doc/overview.html b/doc/overview.html
index 003ed7a6..b8c6f333 100644
--- a/doc/overview.html
+++ b/doc/overview.html
@@ -265,7 +265,7 @@ Proceedings of the ACM SIGPLAN '96 Conference on Programming Language Design
and Implementation.
</p><p>
Boehm, H., and D. Chase, <a href="http://www.hboehm.info/gc/papers/boecha.ps.gz">"A Proposal for Garbage-Collector-Safe C Compilation"</a>,
-<i>Journal of C Language Translation 4</i>, 2 (Decemeber 1992), pp. 126-141.
+<i>Journal of C Language Translation 4</i>, 2 (December 1992), pp. 126-141.
</p><p>
<b>Other related information: </b>
</p><p>
diff --git a/doc/porting.html b/doc/porting.html
index 3d2890e7..2b019d7d 100644
--- a/doc/porting.html
+++ b/doc/porting.html
@@ -131,7 +131,7 @@ should be defined to the limits of the second main data segment.
<DD>
Should be defined if the stack (or thread stacks) grow towards higher
addresses. (This appears to be true only on PA-RISC. If your architecture
-has more than one stack per thread, and is not already supported, you will
+has more than one stack per thread, and is not supported yet, you will
need to do more work. Grep for "IA64" in the source for an example.)
<DT><TT>STACKBOTTOM</tt>
<DD>
@@ -166,7 +166,7 @@ The cold end of the stack is determined by taking an address inside
GC_init's frame, incrementing it repeatedly
in small steps (decrement if <TT>STACK_GROWS_UP</tt>), and reading the value
at each location. We remember the value when the first
-Segmentation violation or Bus error is signalled, round that
+Segmentation violation or Bus error is signaled, round that
to the nearest plausible page boundary, and use that as the
stack base.
<DT><TT>DYNAMIC_LOADING</tt>
@@ -208,7 +208,7 @@ tweaking of conditional compilation tests.
<P>
For GC7, if your platform supports <TT>getcontext()</tt>, then defining
the macro <TT>UNIX_LIKE</tt> for your OS in <TT>gcconfig.h</tt>
-(if it isn't defined there already) is likely to solve the problem.
+(if it isn't defined there yet) is likely to solve the problem.
otherwise, if you are using gcc, <TT>_builtin_unwind_init()</tt>
will be used, and should work fine. If that is not applicable either,
the implementation will try to use <TT>setjmp()</tt>. This will work if your
diff --git a/doc/scale.html b/doc/scale.html
index 8fe1e60e..15c8c597 100644
--- a/doc/scale.html
+++ b/doc/scale.html
@@ -133,7 +133,7 @@ Running with a thread-unsafe collector, the benchmark ran in 9
seconds. With the simple thread-safe collector,
built with <TT>-DGC_THREADS</tt>, the execution time
increased to 10.3 seconds, or 23.5 elapsed seconds with two clients.
-(The times for the <TT>malloc</tt>/i<TT>free</tt> version
+(The times for the <TT>malloc</tt>/<TT>free</tt> version
with glibc <TT>malloc</tt>
are 10.51 (standard library, pthreads not linked),
20.90 (one thread, pthreads linked),
@@ -155,7 +155,7 @@ avoided in time-critical code.
directly for allocation locking would have been worse still, at
least for older versions of linuxthreads.
With THREAD_LOCAL_ALLOC, we first repeatedly try to acquire the
-lock with pthread_mutex_try_lock(), busy_waiting between attempts.
+lock with pthread_mutex_try_lock(), busy-waiting between attempts.
After a fixed number of attempts, we use pthread_mutex_lock().)
<P>
These measurements do not use incremental collection, nor was prefetching
diff --git a/doc/simple_example.html b/doc/simple_example.html
index d1676602..b01d94a7 100644
--- a/doc/simple_example.html
+++ b/doc/simple_example.html
@@ -12,7 +12,7 @@ a single-threaded application. <FONT COLOR=green>The green
text contains information about other platforms or scenarios.
It can be skipped, especially on first reading</font>.
<H2>Building the collector</h2>
-If you haven't already so, unpack the collector and enter
+If you have not so yet, unpack the collector and enter
the newly created directory with
<PRE>
tar xvfz gc&lt;version&gt;.tar.gz