Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] Trivial typo fixes

0 views
Skip to first unread message

Nick Glencross

unread,
Oct 12, 2005, 7:51:44 AM10/12/05
to perl6-i...@perl.org
Guys,

Nothing too much to this patch. A fix to a couple of typos
('unimplemented' and 'too') and a few paths in examples.

Regards,

Nick

typos_patch_r9465.txt

Will Coleda

unread,
Oct 12, 2005, 8:52:05 AM10/12/05
to Nick Glencross, perl6-i...@perl.org
Applied, except for the patch to examples/md5sum.pir - That changes
the md5sum of the file, which then breaks t/examples/pir.t

While I was testing parakeet to make sure this didn't break anything,
I noticed that parakeet was broken. (using soon to be and already
deprecated syntax).

In future, please submit patches via parr...@parrotcode.org, then
they'll get auto-added to RT. (http://www.parrotcode.org/patchfaq.html)

Thanks!

> Index: src/pmc_freeze.c
> ===================================================================
> --- src/pmc_freeze.c (revision 9465)
> +++ src/pmc_freeze.c (working copy)
> @@ -712,7 +712,7 @@
> else {
> if (string_length(interpreter, s) < PACKFILE_HEADER_BYTES) {
> real_exception(interpreter, NULL, E_IOError,
> - "bad string too thaw");
> + "bad string to thaw");
> }
> mem_sys_memcopy(pf->header, s->strstart,
> PACKFILE_HEADER_BYTES);
> PackFile_assign_transforms(pf);
> Index: t/native_pbc/header.t
> ===================================================================
> --- t/native_pbc/header.t (revision 9465)
> +++ t/native_pbc/header.t (working copy)
> @@ -26,7 +26,7 @@
> use Parrot::Config;
>
> SKIP: {
> - skip "new header format not yet implimented", 8;
> + skip "new header format not yet implemented", 8;
> # idea stolen from t/pmc/sub.t
> my $tmppasm = File::Temp->new(UNLINK => 1, SUFFIX => '.pasm');
> print $tmppasm <<END;
> Index: languages/parakeet/parakeet.imc
> ===================================================================
> --- languages/parakeet/parakeet.imc (revision 9465)
> +++ languages/parakeet/parakeet.imc (working copy)
> @@ -404,10 +404,10 @@
>
> .addCore("open", _OPEN, "unimplemented.")
> .addCore("close", _CLOSE, "unimplemented.")
> - .addCore("peek", _PEEK, "unimplimented.")
> - .addCore("stat", _STAT, "unimplimented.")
> - .addCore("seek", _SEEK, "unimplimented.")
> - .addCore("tell", _TELL, "unimplimented.")
> + .addCore("peek", _PEEK, "unimplemented.")
> + .addCore("stat", _STAT, "unimplemented.")
> + .addCore("seek", _SEEK, "unimplemented.")
> + .addCore("tell", _TELL, "unimplemented.")
>
> # stackies
>
> Index: examples/pir/md5sum.pir
> ===================================================================
> --- examples/pir/md5sum.pir (revision 9465)
> +++ examples/pir/md5sum.pir (working copy)
> @@ -5,11 +5,11 @@
>
> =head1 NAME
>
> -examples/pir/md5sum.imc - calculate MD5 checksums
> +examples/pir/md5sum.pir - calculate MD5 checksums
>
> =head1 SYNOPSIS
>
> - % ./parrot examples/pir/md5sum.imc filename [filename ...]
> + % ./parrot examples/pir/md5sum.pir filename [filename ...]
>
> =head1 DESCRIPTION
>
> Index: examples/library/getopt_demo.imc
> ===================================================================
> --- examples/library/getopt_demo.imc (revision 9465)
> +++ examples/library/getopt_demo.imc (working copy)
> @@ -3,13 +3,13 @@
>
> =head1 NAME
>
> -examples/assembly/getopt_demo.imc - demonstrating library/Getopt/
> Long.pir
> +examples/library/getopt_demo.imc - demonstrating library/Getopt/
> Long.pir
>
> =head1 SYNOPSIS
>
> - % ./parrot examples/assembly/getopt_demo.imc --help
> - % ./parrot examples/assembly/getopt_demo.imc --version
> - % ./parrot examples/assembly/getopt_demo.imc --string=asdf --
> bool --integer=42 some thing
> + % ./parrot examples/library/getopt_demo.imc --help
> + % ./parrot examples/library/getopt_demo.imc --version
> + % ./parrot examples/library/getopt_demo.imc --string=asdf --
> bool --integer=42 some thing
>
> =head1 DESCRIPTION
>
>

Bernhard Schmalhofer

unread,
Oct 12, 2005, 5:20:00 PM10/12/05
to Will Coleda, Nick Glencross, perl6-i...@perl.org
Will Coleda schrieb:

> Applied, except for the patch to examples/md5sum.pir - That changes
> the md5sum of the file, which then breaks t/examples/pir.t
>

Thanks for looking at the examples. The md5sum.pir changes are now also in.
Late at night I though that using the md5sum of md5sum.pir for testing
md5sum.pir
was funny. But now I think that I'll change that on occasion :-).

CU, Bernhard

0 new messages