From: Rafael Garcia-Suarez Date: Tue, 19 Dec 2006 15:14:47 +0000 (+0000) Subject: Fix paths of pack.pl in patching.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=21f7822eb25d3876bea04f38bd329da926f3da86;p=p5sagit%2Fp5-mst-13.2.git Fix paths of pack.pl in patching.pod p4raw-id: //depot/perl@29594 --- diff --git a/Porting/patching.pod b/Porting/patching.pod index 5114d72..52c60d0 100644 --- a/Porting/patching.pod +++ b/Porting/patching.pod @@ -153,22 +153,22 @@ you have your changes, you would run makepatch as follows: =item Binary Files -Since the patch(1) utility can not deal with binary files, it's important -that you either avoid the use of binary files in your patch, generate the files -dynamically or that you encode any binary files using the C -utility. +Since the patch(1) utility cannot deal with binary files, it's important +that you either avoid the use of binary files in your patch, generate the +files dynamically, or that you encode any binary files using the +F utility. -Assuming you needed to include a C encoded file for a module's test suite, -you might do this as follows using the C utility: +Assuming you needed to include a gzip-encoded file for a module's test +suite, you might do this as follows using the F utility: - $ perl Porting/pack.pl -v -D lib/Some/Module/t/src/t.gz + $ perl pack.pl -v -D lib/Some/Module/t/src/t.gz Writing lib/Some/Module/t/src/t.gz into lib/Some/Module/t/src/t.gz.packed -This will replace the C file with an encoded counterpart. During -C, before any tests are run, Perls Makefile will restore all the -C<.packed> files mentioned in the C to their original name. This -means that the test suite does not need to be aware of this packing scheme and -will not need to be altered. +This will replace the C file with an encoded counterpart. During +C, before any tests are run, perl's Makefile will restore all +the C<.packed> files mentioned in the MANIFEST to their original name. +This means that the test suite does not need to be aware of this packing +scheme and will not need to be altered. =item Try it yourself