Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

large batch of typo fixes, courtesy of pfusik++

  • Loading branch information...
commit b9261ad17c131f995c081d561c9b56c679243c7e 1 parent 6f57d17
@cotto cotto authored
Showing with 73 additions and 70 deletions.
  1. +3 −0  CREDITS
  2. +1 −1  ChangeLog
  3. +2 −2 NEWS
  4. +1 −1  config/auto/backtrace/test_dlinfo_c.in
  5. +1 −1  docs/book/pct/ch04_pge.pod
  6. +1 −1  docs/book/pir/ch05_control_structures.pod
  7. +1 −1  docs/book/pir/ch06_subroutines.pod
  8. +1 −1  docs/deprecations/deprecations_3_0.pod
  9. +1 −1  docs/deprecations/how_to_deprecate.pod
  10. +1 −1  docs/pdds/draft/pdd14_numbers.pod
  11. +1 −1  docs/pdds/pdd07_codingstd.pod
  12. +1 −1  docs/pdds/pdd19_pir.pod
  13. +1 −1  docs/pdds/pdd20_lexical_vars.pod
  14. +1 −1  docs/project/git_workflow.pod
  15. +1 −1  examples/past/blocktype_immediate.pir
  16. +1 −1  examples/sdl/tetris/blockdata.pir
  17. +1 −1  examples/streams/Combiner.pir
  18. +2 −2 ext/winxed/README
  19. +2 −2 ext/winxed/compiler.pir
  20. +1 −1  src/dynoplibs/bit.ops
  21. +4 −4 src/dynoplibs/math.ops
  22. +1 −1  src/exceptions.c
  23. +1 −1  src/gc/alloc_resources.c
  24. +1 −1  src/gc/api.c
  25. +1 −1  src/gc/gc_gms.c
  26. +1 −1  src/gc/gc_ms.c
  27. +5 −5 src/gc/malloc.c
  28. +1 −1  src/gc/system.c
  29. +1 −1  src/interp/inter_create.c
  30. +1 −1  src/oo.c
  31. +1 −1  src/ops/core.ops
  32. +1 −1  src/platform/generic/entropy.c
  33. +1 −1  src/platform/win32/entropy.c
  34. +1 −1  src/platform/win32/io.c
  35. +1 −1  src/pmc.c
  36. +1 −1  src/pmc/class.pmc
  37. +1 −1  src/pmc/env.pmc
  38. +1 −1  src/pmc/eval.pmc
  39. +1 −1  src/pmc/hash.pmc
  40. +2 −2 src/pmc/mappedbytearray.pmc
  41. +1 −1  src/pmc/role.pmc
  42. +1 −1  src/pmc/stringbuilder.pmc
  43. +2 −2 src/pmc/structview.pmc
  44. +1 −1  src/pmc/sub.pmc
  45. +1 −1  src/scheduler.c
  46. +2 −2 t/oo/objects.t
  47. +1 −1  t/op/literal.t
  48. +1 −1  t/op/sprintf.t
  49. +1 −1  t/pmc/callcontext.t
  50. +1 −1  t/pmc/managedstruct.t
  51. +1 −1  t/pmc/mappedbytearray.t
  52. +1 −1  t/pmc/task.t
  53. +1 −1  t/tools/install/01-create_directories.t
  54. +1 −1  t/tools/install/02-install_files.t
  55. +1 −1  t/tools/install/03-lines_to_files.t
  56. +2 −2 tools/docs/make_html_docs.pl
  57. +1 −1  tools/release/templates.json
View
3  CREDITS
@@ -948,6 +948,9 @@ D: The Second Perl 6 Summarizer after Bryan C. Warnock
E: pdcawley@bofh.org.uk
W: http://www.bofh.org.uk:8080/
+N: Piotr Fusik
+D: Fixed typos
+
N: Reini Urban
U: rurban
E: rurban@cpan.org
View
2  ChangeLog
@@ -7979,7 +7979,7 @@
before 5.6 did not handle the 0b numeric prefix; therefore, it was
returning 0. To fix this, I added a from_binary function that
would take a binary string and return its decimal representation.
- Now, instead of blindly calilng oct, it makes a distinction between
+ Now, instead of blindly calling oct, it makes a distinction between
0/0x numbers and 0b numbers.
2001-09-26 19:30 thgibbs
View
4 NEWS
@@ -186,7 +186,7 @@ New in 3.0.0
command-line parameters was improved.
+ An experimental gdb pretty-printers in tools/dev for Parrot STRINGs and
PMCs is now available. (gdb 7.2 or later and Python are required)
- + c2str.pl and pmc2c.pl improvements result in a noticably faster build.
+ + c2str.pl and pmc2c.pl improvements result in a noticeably faster build.
+ Bugs in our Digest::sha256 library and bit-related dynamic ops were fixed
by GCI student Nolan Lum. Both now work correctly on 32 and 64 bit systems.
- Languages
@@ -923,7 +923,7 @@ New in January 2009 release (0.9.0)
- skip creating a class/grammar if it already exists
- Languages
+ Rakudo
- - improved error mesages in multi dispatch
+ - improved error messages in multi dispatch
- implemented clone method for all objects
- implemented MAIN sub
- Unicode versions of infix hyper operators
View
2  config/auto/backtrace/test_dlinfo_c.in
@@ -1,7 +1,7 @@
/*
Copyright (C) 2009, Parrot Foundation.
-check that Dl_info is avaible
+check that Dl_info is available
*/
#include <execinfo.h>
View
2  docs/book/pct/ch04_pge.pod
@@ -1343,7 +1343,7 @@ Protofunctions define operators in the optable in the same way that rules and
tokens make up the grammar. A proto declares a rule, defined elsewhere, which
other code may override dynamically. In this case, PCT takes information from
the proto declaration and fills in the details. The "dynamic overriding"
-implies that a high-level language itself itself can modify its own grammar at
+implies that a high-level language itself can modify its own grammar at
run time, by overriding the proto definitions for its operator table. Some
languages call this process X<operator overloading> I<operator overloading>.
View
2  docs/book/pir/ch05_control_structures.pod
@@ -326,7 +326,7 @@ PIR requires one conditional branch and two unconditional branches.
The first time through the loop, this example sets the initial value of the
counter in C<loop_init>. It then goes on to test that the loop condition is met
in C<loop_test>. If the condition is true (C<counter> is less than or equal to
-10) it jumps to C<loop_body> and executes the body of the loop. If the the
+10) it jumps to C<loop_body> and executes the body of the loop. If the
condition is false, it will jump straight to C<loop_end> and the loop will end.
The body of the loop prints the current counter then goes on to
C<loop_continue>, which increments the counter and jumps back up to
View
2  docs/book/pir/ch06_subroutines.pod
@@ -189,7 +189,7 @@ X<named parameters>
Named parameters are an alternative to positional parameters. Instead of
passing parameters by their position in the string, Parrot assigns
arguments to parameters by their name. Consequently you may pass named
-parameters in any order. Declare named parameters with with the
+parameters in any order. Declare named parameters with the
C<:named>X<:named parameter modifier> modifier.
This example declares two named parameters in the subroutine C<shoutout>
View
2  docs/deprecations/deprecations_3_0.pod
@@ -92,7 +92,7 @@ magic of virtual dispatch.
=head3 Rational
-They're old, crufty, and don't do anything that cannot be acheived by .call.
+They're old, crufty, and don't do anything that cannot be achieved by .call.
Except obfuscasion of course.
View
2  docs/deprecations/how_to_deprecate.pod
@@ -97,7 +97,7 @@ page (e.g. [wiki:ParrotDeprecationsFor2.6 ParrotDeprecationsFor2.6])
=item *
-walk through the the documentation to ensure that it's sufficient for a user to
+walk through the documentation to ensure that it's sufficient for a user to
use to upgrade his or her code
=item *
View
2  docs/pdds/draft/pdd14_numbers.pod
@@ -126,7 +126,7 @@ different PMC type.}}
=item C<i_[add|subtract|multiply|divide|floor_divide|modulus|pow]_float(INTVAL
b)>
-Add/subtract/multiply/divide/modulus/exponent an integer value with the the
+Add/subtract/multiply/divide/modulus/exponent an integer value with the
C<Integer> PMC, and set the C<Integer> to the resulting value, morphing it to
a C<Float>. Note that these are multidispatched.
View
2  docs/pdds/pdd07_codingstd.pod
@@ -503,7 +503,7 @@ C<i> that's visible after it's used, which is confusing at best.
=item Filenames
-Filenames must be assumed to be case-insensitive, in the sense that that you
+Filenames must be assumed to be case-insensitive, in the sense that you
may not have two different files called F<Foo> and F<foo>. Normal source-code
filenames should be all lower-case; filenames with upper-case letters in them
are reserved for notice-me-first files such as F<README>, and for files which
View
2  docs/pdds/pdd19_pir.pod
@@ -815,7 +815,7 @@ becomes:
=end PIR_FRAGMENT
-Note that this only works for opcodes that have have a leading C<OUT>
+Note that this only works for opcodes that have a leading C<OUT>
parameter. [this restriction unimplemented: TT #906]
=item ([<var1> [:<mod1> ...], ...]) = <var2>([<arg1> [:<mod2> ...], ...])
View
2  docs/pdds/pdd20_lexical_vars.pod
@@ -197,7 +197,7 @@ variable, an exception is thrown.
If an inner subroutine is invoked that hasn't had a
C<capture_lex> operation performed on it, then Parrot
will attempt to dynamically perform the lexical capture
-using the call from from its outer sub. If the outer sub
+using the call from its outer sub. If the outer sub
doesn't have a call frame, as might occur when jumping
directly to the inner sub without previously invoking the
outer, then Parrot creates a dummy call frame for the
View
2  docs/project/git_workflow.pod
@@ -139,7 +139,7 @@ the --force flag:
git add --force ports/foo
NOTE: Make sure these files should actually be added. Most files in .gitignore
-should never be added, but some, such as some files in "ports/" will need need
+should never be added, but some, such as some files in "ports/" will need
the --force flag.
Now for actually creating your commit! Since Git is a distributed version
View
2  examples/past/blocktype_immediate.pir
@@ -11,7 +11,7 @@ examples/past/blocktype_immediate.pir - Evaluating a PAST::Block immediately
=head1 DESCRIPTION
Create and evaluate a PAST::Block with blocktype 'immediate'.
-'immediate' means the the block is evaluated end the last value
+'immediate' means the block is evaluated and the last value
is returned.
Beware that this doesn't work yet as expected:
View
2  examples/sdl/tetris/blockdata.pir
@@ -29,7 +29,7 @@ END:
=item blockdata."rotate"( dir )
-Changes the the C<block data> in a way to make
+Changes the C<block data> in a way to make
the block look rotated.
=over 4
View
2  examples/streams/Combiner.pir
@@ -87,7 +87,7 @@ LOOP:
The _text sub is used as a source of the text stream.
It just writes some text to the stream.
-The stream is automatically diconnected when the sub returns, which
+The stream is automatically disconnected when the sub returns, which
will also terminate the combined stream.
=cut
View
4 ext/winxed/README
@@ -19,6 +19,6 @@ How to choose and tag the release used:
Releases are tagged like this: RELEASE_1_0_0
-To tag a new releease switch to the appropiate branch, like version_1_0,
-verify is updated with the appropiate changes and the pir generated files
+To tag a new release switch to the appropriate branch, like version_1_0,
+verify is updated with the appropriate changes and the pir generated files
are also updated, an tag it. Don't forget to push the tag to origin.
View
4 ext/winxed/compiler.pir
@@ -7326,7 +7326,7 @@
.annotate 'line', 2635
unless_null $P2, __label_2
.annotate 'line', 2636
- WSubId_1('unknow namespace', __ARG_1)
+ WSubId_1('unknown namespace', __ARG_1)
__label_2: # endif
.annotate 'line', 2637
__ARG_3.'usenamespace'($P2)
@@ -16547,7 +16547,7 @@
goto __label_5 # break
__label_9: # case
.annotate 'line', 5559
- WSubId_6("Builtin unexpeted here", self)
+ WSubId_6("Builtin unexpected here", self)
__label_6: # default
.annotate 'line', 5561
root_new $P6, ['parrot';'ResizablePMCArray']
View
2  src/dynoplibs/bit.ops
@@ -402,7 +402,7 @@ inline op lsr(invar PMC, invar PMC, invar PMC) :base_core {
=item B<rot>(out INT, in INT, in INT, inconst INT)
Rotate $2 left or right by $3 and place result in $1.
-$4 is the the size of the word to rotate, max 32 on a 32-bit CPU and 64
+$4 is the size of the word to rotate, max 32 on a 32-bit CPU and 64
on a 64-bit CPU. If the rotate count is negative a rotate right by abs($3)
is performed.
View
8 src/dynoplibs/math.ops
@@ -208,7 +208,7 @@ inline op rand(out INT) {
=item B<rand>(out NUM, in NUM)
-Set $1 to a random floating point number between 0 and and $2, inclusive.
+Set $1 to a random floating point number between 0 and $2, inclusive.
=cut
@@ -218,7 +218,7 @@ inline op rand(out NUM, in NUM) {
=item B<rand>(out INT, in INT)
-Set $1 to a integer between 0 and and $2, inclusive.
+Set $1 to a integer between 0 and $2, inclusive.
=cut
@@ -228,7 +228,7 @@ inline op rand(out INT, in INT) {
=item B<rand>(out NUM, in NUM, in NUM)
-Set $1 to a random floating point number between $2 and and $3, inclusive.
+Set $1 to a random floating point number between $2 and $3, inclusive.
=cut
@@ -258,7 +258,7 @@ inline op srand(in INT) {
=item B<rand>(out INT, in INT, in INT)
-Set $1 to a integer between $2 and and $3, inclusive.
+Set $1 to a integer between $2 and $3, inclusive.
=cut
View
2  src/exceptions.c
@@ -7,7 +7,7 @@ src/exceptions.c - Exceptions
=head1 DESCRIPTION
-Define the the core subsystem for exceptions.
+Define the core subsystem for exceptions.
=head2 Exception Functions
View
2  src/gc/alloc_resources.c
@@ -309,7 +309,7 @@ check_fixed_size_obj_pool(ARGIN(const Fixed_Size_Pool *pool))
/* should happen only once at the end */
--last_free_list_count;
else {
- /* next item on free list should also be flaged as free item */
+ /* next item on free list should also be flagged as free item */
pobj_walker = (GC_MS_PObj_Wrapper*)pobj_walker->next_ptr;
PARROT_ASSERT(PObj_on_free_list_TEST((PObj*)pobj_walker));
}
View
2  src/gc/api.c
@@ -551,7 +551,7 @@ Parrot_gc_allocate_pmc_attributes(PARROT_INTERP, ARGMOD(PMC *pmc))
=item C<void Parrot_gc_free_pmc_attributes(PARROT_INTERP, PMC *pmc)>
-Deallocates an attibutes structure from a PMC if it has the auto_attrs
+Deallocates an attributes structure from a PMC if it has the auto_attrs
flag set.
=cut
View
2  src/gc/gc_gms.c
@@ -2277,7 +2277,7 @@ gc_gms_validate_objects(PARROT_INTERP)
=item C<static void gc_gms_str_get_youngest_generation(PARROT_INTERP, STRING
*str)>
-Calculate youngest genereation of PMC children. Used to remove items from
+Calculate youngest generation of PMC children. Used to remove items from
dirty_list.
=cut
View
2  src/gc/gc_ms.c
@@ -1257,7 +1257,7 @@ contained_in_attr_pool(ARGIN(const PMC_Attribute_Pool *pool), ARGIN(const void *
=item C<void gc_ms_free_pmc_attributes(PARROT_INTERP, PMC *pmc)>
-Deallocates an attibutes structure from a PMC if it has the auto_attrs
+Deallocates an attributes structure from a PMC if it has the auto_attrs
flag set.
*/
View
10 src/gc/malloc.c
@@ -145,7 +145,7 @@
you would be far better off obtaining ptmalloc, which is
derived from a version of this malloc, and is well-tuned for
concurrent programs. (See http://www.malloc.de) Note that
- even when USE_MALLOC_LOCK is defined, you can can guarantee
+ even when USE_MALLOC_LOCK is defined, you can guarantee
full thread-safety only if no threads acquire memory through
direct calls to MORECORE or other system-level allocators.
@@ -376,7 +376,7 @@ extern "C" {
#endif
/*
- The unsigned integer type used to hold addresses when they are are
+ The unsigned integer type used to hold addresses when they are
manipulated as integers. Except that it is not defined on all
systems, intptr_t would suffice.
*/
@@ -833,7 +833,7 @@ extern Void_t* sbrk();
The main declaration needed is the mallinfo struct that is returned
(by-copy) by mallinfo(). The SVID/XPG malloinfo struct contains a
bunch of fields that are not even meaningful in this version of
- malloc. These fields are are instead filled by mallinfo() with
+ malloc. These fields are instead filled by mallinfo() with
other numbers that might be of interest.
HAVE_USR_INCLUDE_MALLOC_H should be set if you have a
@@ -2273,7 +2273,7 @@ static int largebin_index(unsigned int sz) {
To help compensate for the large number of bins, a one-level index
structure is used for bin-by-bin searching. `binmap' is a
bitvector recording whether bins are definitely empty so they can
- be skipped over during during traversals. The bits are NOT always
+ be skipped over during traversals. The bits are NOT always
cleared as soon as bins are empty, but instead only
when they are noticed to be empty during traversal in malloc.
*/
@@ -2719,7 +2719,7 @@ static void do_check_malloced_chunk(p, s) mchunkptr p; INTERNAL_SIZE_T s;
always true of any allocated chunk; i.e., that each allocated
chunk borders either a previously allocated and still in-use
chunk, or the base of its memory arena. This is ensured
- by making all allocations from the the `lowest' part of any found
+ by making all allocations from the `lowest' part of any found
chunk. This does not necessarily hold however for chunks
recycled via fastbins.
*/
View
2  src/gc/system.c
@@ -110,7 +110,7 @@ trace_system_areas(PARROT_INTERP, ARGIN_NULLOK(const Memory_Pools *mem_pools))
register windows. Store the code in a union with a double to
ensure proper memory alignment. */
/* TT #271: This needs to be fixed in a variety of ways */
-/* Using inline assember if available instead of the hand-coded version. */
+/* Using inline assembler if available instead of the hand-coded version. */
# if defined(__GNUC__) && (defined(__sparcv9) || defined(__sparcv9__) || defined(__arch64__))
asm("flushw");
# else
View
2  src/interp/inter_create.c
@@ -543,7 +543,7 @@ Parrot_really_destroy(PARROT_INTERP, SHIM(int exit_code), SHIM(void *arg))
Provide access to a (possibly) valid interp pointer. This is intended B<only>
for use cases when an interp is not available otherwise, which shouldn't be
-often. There are no guarantees about what what this function returns. If you
+often. There are no guarantees about what this function returns. If you
have access to a valid interp, use that instead. Don't use this for anything
other than error handling.
View
2  src/oo.c
@@ -1221,7 +1221,7 @@ Used by the Class and Object PMCs internally to compose a role into either of
them. The C<role> parameter is the role that we are composing into the class
or role. C<methods_hash> is the hash of method names to invokable PMCs that
contains the methods the class or role has. C<roles_list> is the list of roles
-the the class or method does.
+the class or method does.
The C<role> parameter is only dealt with by its external interface. Whether
this routine is usable by any other object system implemented in Parrot very
View
2  src/ops/core.ops
@@ -972,7 +972,7 @@ inline op gc_debug(in INT) {
Fetch some piece of information about the interpreter and put it in $1.
Possible values for $2 are defined in F<runtime/parrot/include/interpinfo.pasm>.
-The valid constants for each return value are (excluding the the .INTERPINFO_
+The valid constants for each return value are (excluding the .INTERPINFO_
prefix):
=over 4
View
2  src/platform/generic/entropy.c
@@ -43,7 +43,7 @@ Parrot_get_entropy(PARROT_INTERP) {
if (!urand_fh) {
const char *msg = "Couldn't open /dev/urandom for reading.";
/* This function is called during interp init, so use the GC registry
- * as a way to figure out interp's initialziedness.
+ * as a way to figure out interp's initializedness.
*/
if (interp->gc_registry)
Parrot_ex_throw_from_c_args(interp, NULL, 1, msg);
View
2  src/platform/win32/entropy.c
@@ -42,7 +42,7 @@ Parrot_get_entropy(PARROT_INTERP) {
if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)){
const char *msg = "Couldn't crypt context.";
/* This function is called during interp init, so use the GC registry
- * as a way to figure out interp's initialziedness.
+ * as a way to figure out interp's initializedness.
*/
if (interp->gc_registry)
Parrot_ex_throw_from_c_args(interp, NULL, 1, msg);
View
2  src/platform/win32/io.c
@@ -549,7 +549,7 @@ Parrot_io_open_pipe(PARROT_INTERP, ARGIN(STRING *command), INTVAL flags,
/* Redirect input to NULL. This is to avoid
* interferences in case both the child and
* the parent tries to read from stdin.
- * May be unneccessary or even interfere
+ * May be unnecessary or even interfere
* with valid usages, need more feedback. */
hnull = CreateFile("NUL", GENERIC_READ|GENERIC_WRITE,
0, &sec, OPEN_EXISTING,
View
2  src/pmc.c
@@ -692,7 +692,7 @@ allow the storage of any regular PMC in this PMC. Temporary PMCs do not
participate in garbage collection, and mixing them with PMCs that are
garbage-collected will cause bugs.
-If you don't know what this means means, or you can't tell if either case
+If you don't know what this means, or you can't tell if either case
will happen as the result of any call you make on or with this PMC,
B<DO NOT> use this function, lest you cause weird crashes and memory errors.
Use C<Parrot_pmc_new()> instead.
View
2  src/pmc/class.pmc
@@ -1081,7 +1081,7 @@ String PMC containing the name of the class
=item namespace
-NameSpace PMC of the the namespace attached to the class.
+NameSpace PMC of the namespace attached to the class.
=item attributes
View
2  src/pmc/env.pmc
@@ -278,7 +278,7 @@ Returns whether the environment variable for C<*key> exists.
=item C<void delete_keyed(PMC *key)>
-Deletes the the environment variable for C<*key>.
+Deletes the environment variable for C<*key>.
=cut
View
2  src/pmc/eval.pmc
@@ -53,7 +53,7 @@ Initializes a new empty Eval.
=item C<void destroy()>
-Destroy the Eval and its asscociated bytecode.
+Destroy the Eval and its associated bytecode.
=item C<void mark()>
View
2  src/pmc/hash.pmc
@@ -1265,7 +1265,7 @@ get_next_hash(PARROT_INTERP, ARGIN(const Hash *hash), ARGIN(const void *key))
=item C<static void cannot_autovivify_nested(PARROT_INTERP)>
-Throw the appropiate exception.
+Throw the appropriate exception.
=cut
View
4 src/pmc/mappedbytearray.pmc
@@ -7,7 +7,7 @@ src/pmc/mappedbytearray.pmc - Mapped byte array
=head1 DESCRIPTION
-A memory mapped file or shared memory segment accesible as array of bytes.
+A memory mapped file or shared memory segment accessible as array of bytes.
Bare minimal functionality available, only for posix platforms
(tested on linux).
@@ -445,7 +445,7 @@ in codepoints.
=item C<static void unavailable(PARROT_INTERP, const char *msg)>
-Throws appropiately for functionality not available in the current platform.
+Throws appropriately for functionality not available in the current platform.
=item C<static void * mapfromfilehandle(PIOHANDLE handle, unsigned long size,
int flag)>
View
2  src/pmc/role.pmc
@@ -392,7 +392,7 @@ available information is:
=item name - String PMC containing the name of the role
-=item namespce - NameSpace PMC of the the namespace attached to the role
+=item namespce - NameSpace PMC of the namespace attached to the role
=item attributes - Hash keyed on attribute name, value is hash describing it
View
2  src/pmc/stringbuilder.pmc
@@ -321,7 +321,7 @@ For testing purpose only?
VTABLE STRING *substr(INTVAL offset, INTVAL length) {
STRING *buffer;
GET_ATTR_buffer(INTERP, SELF, buffer);
- /* We must clone here becase we can reallocate buffer behind the scene... */
+ /* We must clone here because we can reallocate buffer behind the scene... */
/* TODO Optimize it to avoid creation of redundant STRING */
return Parrot_str_clone(INTERP,
STRING_substr(INTERP, buffer, offset, length));
View
4 src/pmc/structview.pmc
@@ -956,7 +956,7 @@ Return a C<Ptr> to the C<n>th element of an array of structs.
if ((size_t)p != ALIGN_UP((size_t)p, align))
Parrot_ex_throw_from_c_args(INTERP, NULL, 0,
"Attempt to dereference unaligned pointer "
- "(%x, required alignement: %d)",
+ "(%x, required alignment: %d)",
p, align);
size = ALIGN_UP(size, align);
@@ -1006,7 +1006,7 @@ Return a C<Ptr> to the C<n>th element of a struct.
if ((size_t)p != ALIGN_UP((size_t)p, align))
Parrot_ex_throw_from_c_args(INTERP, NULL, 0,
"Attempt to dereference unaligned pointer "
- "(%x, required alignement: %d)",
+ "(%x, required alignment: %d)",
p, align);
}
View
2  src/pmc/sub.pmc
@@ -1032,7 +1032,7 @@ slurpy arguments).
PMC_get_sub(INTERP, SELF, sub);
/*
- XXX Rakudo's failing with with this code on ASSERT. Why???
+ XXX Rakudo's failing with this code on ASSERT. Why???
GET_ATTR_namespace_stash(INTERP, SELF, _namespace);
PARROT_ASSERT(_namespace == sub->namespace_stash || !"consistency!!!");
*/
View
2  src/scheduler.c
@@ -258,7 +258,7 @@ Parrot_cx_schedule_task(PARROT_INTERP, ARGIN(PMC *task))
=item C<PMC * Parrot_cx_peek_task(PARROT_INTERP)>
-Retrieve the the top task on the scheduler's task list, but don't remove it
+Retrieve the top task on the scheduler's task list, but don't remove it
from the list.
=cut
View
4 t/oo/objects.t
@@ -683,10 +683,10 @@ l1:
.sub PMC_as_classes
get_class $P0, "Integer"
- ok( 1, "get_class of Integer did't croak" )
+ ok( 1, "get_class of Integer didn't croak" )
get_class $P0, "Integer"
- ok( 1, "get_class of Integer did't croak second time" )
+ ok( 1, "get_class of Integer didn't croak second time" )
typeof $S0, $P0
is( $S0, 'PMCProxy', 'typeof PMCProxy' )
View
2  t/op/literal.t
@@ -11,7 +11,7 @@ t/op/literal.t - Testing the PIR lexer
=head1 DESCRIPTION
-Tests the lexing of literal numbers. Taken from from the 2nd
+Tests the lexing of literal numbers. Taken from the 2nd
aoudad book (page 127).
=cut
View
2  t/op/sprintf.t
@@ -350,7 +350,7 @@ tag C<all> is allowed for todo tests that should fail on any system.
local_branch jmpstack, set_skip_loop
skip_info[114] = 'harness needs support for * modifier'
- skip_info[144] = 'perl5 expresssion as test value'
+ skip_info[144] = 'perl5 expression as test value'
skip_info[131] = 'harness needs support for * modifier'
skip_info[141] = 'harness needs support for * modifier'
skip_info[161] = 'harness needs support for * modifier'
View
2  t/pmc/callcontext.t
@@ -280,7 +280,7 @@ eh:
unshift $P0, $P1
$P2 = shift $P0
- is($P2, 'derF', '... but not convert when unneccesary')
+ is($P2, 'derF', '... but not convert when unnecesary')
$I0 = issame $P1, $P2
ok($I0, '... returning the same item' )
View
2  t/pmc/managedstruct.t
@@ -92,7 +92,7 @@ Tests the ManagedStruct PMC. Checks element access and memory allocation.
is($I0, 1, "char val of 1 is correct")
set $I0, $P0[0;1]
is($I0, 2, "char val of 258 retrieved as 2")
- # now acces that as a short
+ # now access that as a short
new $P2, ['ResizablePMCArray']
push $P2, .DATATYPE_SHORT
push $P2, 1
View
2  t/pmc/mappedbytearray.t
@@ -80,7 +80,7 @@ Tests the MappedByteArray PMC.
mm = new ['MappedByteArray'], filename
$I0 = elements mm
- # The test file is one line of text, and line ending may have beeen
+ # The test file is one line of text, and line ending may have been
# converted, so the lenght can be one byte different.
$I1 = $I0 == 43
$I2 = $I0 == 44
View
2  t/pmc/task.t
@@ -77,7 +77,7 @@ pir_output_is( <<'CODE', <<'OUT', "create a task and set attributes" );
print "\n"
$P2 = new ['String']
- $P2 = "aditional data"
+ $P2 = "additional data"
setattribute $P0, 'data', $P2
$P2 = get_global 'code'
View
2  t/tools/install/01-create_directories.t
@@ -78,7 +78,7 @@ pass("Completed all tests in $0");
=head1 DESCRIPTION
-The files in this directory test functionality used by the the scripts
+The files in this directory test functionality used by the scripts
F<tools/dev/install_files.pl>, F<tools/dev/install_doc_files.pl> and F<tools/dev/install_dev_files.pl>
and are exported by F<lib/Parrot/Install.pm>.
View
2  t/tools/install/02-install_files.t
@@ -259,7 +259,7 @@ pass("Completed all tests in $0");
=head1 DESCRIPTION
-The files in this directory test functionality used by the the scripts
+The files in this directory test functionality used by the scripts
F<tools/dev/install_files.pl>, F<tools/dev/install_doc_files.pl> and F<tools/dev/install_dev_files.pl>
and are exported by F<lib/Parrot/Install.pm>.
View
2  t/tools/install/03-lines_to_files.t
@@ -208,7 +208,7 @@ pass("Completed all tests in $0");
=head1 DESCRIPTION
-The files in this directory test functionality used by the the scripts
+The files in this directory test functionality used by the scripts
F<tools/dev/install_files.pl>, F<tools/dev/install_doc_files.pl> and F<tools/dev/install_dev_files.pl>
and are exported by F<lib/Parrot/Install.pm>.
View
4 tools/docs/make_html_docs.pl
@@ -202,7 +202,7 @@ =head3 Elements
my $outfile = File::Spec->catfile($target_dir, $outfilename) . '.html';
- # replace make_path with legacy functional mkpath to accomodate older versions of Perl
+ # replace make_path with legacy functional mkpath to accommodate older versions of Perl
my $dir = File::Path::mkpath(File::Basename::dirname($outfile));
open my $out_fh, '>', $outfile;
@@ -307,7 +307,7 @@ sub transform_input {
my $outfile = File::Spec->catfile($target_dir, $input) . '.html';
- # replace make_path with legacy functional mkpath to accomodate older versions of Perl
+ # replace make_path with legacy functional mkpath to accommodate older versions of Perl
my $dir = File::Path::mkpath(File::Basename::dirname($outfile));
open my $out_fh, '>', $outfile;
View
2  tools/release/templates.json
@@ -37,7 +37,7 @@ instructions</a>. For those who want to hack on Parrot or languages that run on
we recommend <a href=\"@web.org_root@\">our organization page</a> on GitHub,
or you can go directly to the official Parrot Git repo on <a href=\"@web.repository@\">Github</a>
-To clone the the Parrot Git repo into a directory called 'parrot', use the following:
+To clone the Parrot Git repo into a directory called 'parrot', use the following:
<pre>
git clone git://github.com/parrot/parrot.git
</pre>
Please sign in to comment.
Something went wrong with that request. Please try again.