]> git.pld-linux.org Git - packages/subversion.git/commitdiff
- perl 5.10 workaround
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 10 Aug 2008 09:33:36 +0000 (09:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    subversion-tests.patch -> 1.1

subversion-tests.patch [new file with mode: 0644]

diff --git a/subversion-tests.patch b/subversion-tests.patch
new file mode 100644 (file)
index 0000000..772a598
--- /dev/null
@@ -0,0 +1,17 @@
+--- ./subversion/bindings/swig/perl/native/t/6ra.t.org 2008-08-10 11:16:08.571581580 +0200
++++ ./subversion/bindings/swig/perl/native/t/6ra.t     2008-08-10 11:18:55.423648224 +0200
+@@ -221,10 +221,12 @@
+ sub apply_textdelta {
+     my ($self, $baton, $base_checksum, $pool) = @_;
+-    my $data = $baton->{data} = \'';
++    my $mem1;
++    my $mem2;
++    my $data = $baton->{data} = \$mem1;
+     open my $out_fh, '>', $data
+         or die "error opening in-memory file to store Subversion update: $!";
+-    open my $in_fh, '<', \''
++    open my $in_fh, '<', \$mem2
+         or die "error opening in-memory file for delta source: $!";
+     return [ SVN::TxDelta::apply($in_fh, $out_fh, undef, "$baton", $pool) ];
+ }
This page took 0.04805 seconds and 4 git commands to generate.