--- a/bin/waitfordeb Thu Apr 19 21:10:37 2012 +0200
+++ b/bin/waitfordeb Thu Apr 19 21:19:11 2012 +0200
@@ -36,12 +36,6 @@
my $nfiles = 0;
my $c = "$incoming/$ARGV[0]";
-# first setup a file creation watch on the incoming directory (we cannot set
-# watches on objects that dont exist yet); then *if* a file which is listed in
-# the changes file is created inside that directory then setup file
-# {modification,close} watches on it; we need the modification watch to reset
-# the 'timeout counter' and verify the file size in the close watch. ofcourse
-# we need the list of files from the changes file first; we build it here
open C, '<', $c or die "Can't open '<$c': $!\n";
my $skip = 1;
while (<C>) {