Skip to contentSkip to conversation

PoM-NG Subversion compatibility fix

PATCH In review KOVACS Krisztian 2 participants 3 messages Oct 20, 2004 – Oct 22, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PoM-NG Subversion compatibility fix

Hi,

PoM-NG fails to apply any patches from a checked Subversion working
area, because it fails to skip .svn directories when parsing directory entries... The attached patch fixes this, please apply.

Signature · 2 lines
 Regards,
   Krisztian KOVACS
Netfilter_POM.pm +1 -1
Index: Netfilter_POM.pm
===================================================================
@@ -379,7 +379,7 @@
 	opendir(DIR, $dir)
 		or croak "can't open directory $dir: $!";
 	# Don't miss .foo-test files!
-	my @dents = sort grep {!/^(\.\.?|CVS)$/} readdir(DIR);
+	my @dents = sort grep {!/^(\.\.?|CVS|\.svn)$/} readdir(DIR);
 	closedir(DIR);
 	foreach my $dent (@dents) {
 		my $fullpath = "$dir/$dent";
#1 lore raw

2004-10-20, sze keltezéssel 10:09-kor KOVACS Krisztian ezt írta:

Quoted 1 line

PoM-NG fails to apply any patches from a checked Subversion working

Oh, I meant 'checked out', of course... :(

Quoted 2 lines

area, because it fails to skip .svn directories when parsing directory entries... The attached patch fixes this, please apply.

Signature · 2 lines
 Regards,
   Krisztian KOVACS
#2 lore raw
Quoted 4 lines · KOVACS Krisztian

2004-10-20, sze keltezéssel 10:09-kor KOVACS Krisztian ezt írta:

Quoted 1 line

PoM-NG fails to apply any patches from a checked Subversion working

Oh, I meant 'checked out', of course... :(

Thanks, Krisztian. I independently discovered it yesterday (before reading your mail) and fixed it.

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie