<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/afick/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/afick/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 13 Oct 2004 13:48:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/afick/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Small patch to allow exclude_suffix to match entire filename</title><link>https://sourceforge.net/p/afick/patches/1/</link><description>I am posting a small patch to the test\_exclude\_suffix\(\)
function to allow it to exclude an entire filename
which may be anywhere within the directory structure.
This is most useful to exclude core files which may be
included in any directory \(and you don't want to
include all the possible directories they could be in\).

sub test\_exclude\_suffix\($\) \{
my $fic = shift \(@\_\);
foreach my $sufx \(@ExSufx\) \{
if \( $fic =~ m/\\.$sufx$/ \) \{
debug\( 2, "find excluded suffix
$sufx in $fic\n" \);
return 1;
\}
\# also match if sufx = entire filename
if \( $fic =~ m/^$sufx$/ \) \{
debug\( 2, "find entire filename
$sufx in $fic\n" \);
return 1;
\}
\}
return 0;
\}
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 13 Oct 2004 13:48:50 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf9f173304d5bb86bc00259d9c08949525885662c</guid></item></channel></rss>