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 [EMAIL PROTECTED], then they'll get auto-added to RT. (http://www.parrotcode.org/patchfaq.html)

Thanks!

On Oct 12, 2005, at 7:51 AM, Nick Glencross wrote:

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
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



Reply via email to