[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

commit-email.pl regex bug

From: Vladimír Marek <vlmarek_at_volny.cz>
Date: 2004-12-06 16:03:21 CET

Hello,

I found that the script was not sending mails containing diffs from
files in directories, whose names contain '++'.

The problem is on the line 323:
  $dir =~ s#^$commondir/##;

$commondir is interpreted, which should not. Fix is easy:

  $dir =~ s#^\Q$commondir\E/##;

Apologise for not attaching patch.

--
	Neuron

  • application/pgp-signature attachment: stored
Received on Mon Dec 6 18:54:28 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.