[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/devtools/krazy
From: Allen Winter <winter () kde ! org>
Date: 2006-06-26 16:08:28
Message-ID: 1151338108.972254.26968.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 555184 by winterz:
splice needs to know that we only want to remove 1 element; not all elements
until the end of the list.
M +2 -2 krazy
--- trunk/playground/devtools/krazy/krazy #555183:555184
@@ -172,7 +172,7 @@
print "\"$e\" is not in the list of checker programs... exiting\n";
exit 1;
} else {
- splice(@progs,$matchidx);
+ splice(@progs,$matchidx,1);
}
}
}
@@ -183,7 +183,7 @@
my($fred,$ext) = split('\.',$p);
if (defined($ext)) {
if ($ext ne $extension) {
- splice(@progs,$i);
+ splice(@progs,$i,1);
}
}
$i++;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic