Skip to content

Commit 8706ada

Browse files
committed
Devel::PPPort - Reconciliate changes with GitHub 26a6a909
1 parent 10b0079 commit 8706ada

File tree

4 files changed

+3
-512
lines changed

4 files changed

+3
-512
lines changed

dist/Devel-PPPort/HACKERS

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -294,25 +294,6 @@ which are described further below).
294294

295295
=over 4
296296

297-
Here you can add additional information for a given item that will be displayed
298-
when F<ppport.h> is run. If your item is named C<foo>, you add a
299-
comment like so:
300-
301-
/* Hint: foo
302-
paragraphs of stuff about foo you want to have
303-
shown when ppport.h outputs something about foo
304-
*/
305-
306-
This will cause S<C<perl ppport.h>> to display this hint when it outputs
307-
something about C<foo>.
308-
309-
A more serious caution about C<foo> can be displayed by instead saying
310-
311-
/* Warning: foo
312-
paragraphs of stuff about foo you want to have
313-
shown when ppport.h outputs something about foo
314-
*/
315-
316297
=item *
317298

318299
You will first need a whole bunch of different Perls, the more, the better, but

dist/Devel-PPPort/mktests.PL

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ sub generate_tests
4141
print "generating $testfile\n";
4242

4343
my $tmpl = $template;
44-
# ensure we get the same result on Win32
45-
(my $source = $file) =~ s(\\)(/)g;
46-
$tmpl =~ s/__SOURCE__/$source/mg;
44+
my $canonfile = $file;
45+
$canonfile =~ tr!\\!/!; # MSWin32 use backslashes
46+
$tmpl =~ s/__SOURCE__/$canonfile/mg;
4747
$tmpl =~ s/__PLAN__/$spec->{OPTIONS}{tests}{plan}/mg;
4848
$tmpl =~ s/^__TESTS__$/$spec->{tests}/mg;
4949

0 commit comments

Comments
 (0)