Re: git-svn failure when symlink added in svn
Hi,
On Sun, Apr 29, 2007 at 03:21:36PM -0700, Eric Wong wrote:
Show 9 quoted lines
> > my $path = $self->git_path($fb->{path});
> > if (my $fh = $fb->{fh}) {
> > - seek($fh, 0, 0) or croak $!;
> > + sysseek($fh, 0, 0) or croak $!;
> > my $md5 = Digest::MD5->new;
> > $md5->addfile($fh);
>
> We may want to keep the plain seek() here and do both seek and sysseek,
> I'm not sure if $md5->addfile() uses read or sysread internally.I've just had a quick look: it uses read.
Junio: I'll test the patch tomorrow or the day after tommorow and
let you know whether it works for me. Thanks for the quick fix(es) ...
Best regards,
Alex--
Dipl.-Math. Alexander Klink | IT-Security Engineer | a.klink@cynops.de
mobile: +49 (0)178 2121703 | Cynops GmbH | http://www.cynops.de
----------------------------+----------------------+---------------------
HRB 7833, Amtsgericht | USt-Id: DE 213094986 | Geschäftsführer:
Bad Homburg v. d. Höhe | | Martin Bartosch