Package: libfile-tail-perl
Version: 0.98-5
Severity: normal
Tags: patch

the nowait option is not set in the object when passed via new().
the (internal) nowait setup works fine, and the problem is a simple
missing call to the nowait() setter in the constructor. 

the trivial patch follows:
--- /usr/share/perl5/File/Tail.pm       2004-06-08 23:31:18.000000000 +1000
+++ Tail.pm     2005-08-05 12:22:51.000000000 +1000
@@ -250,6 +250,7 @@
     $object->errmode($params{'errmode'} || "die");
     $object->resetafter($params{'resetafter'} || 
                         ($object->maxinterval*$object->adjustafter));
+    $object->nowait($params{'nowait'}||0);
     $object->{"debug"}=($params{'debug'} || 0);
     $object->{"tail"}=($params{'tail'} || 0);
     $object->{"maxbuf"}=($params{'maxbuf'} || 16384);

cheers
az

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (980, 'testing'), (970, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.30
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)

Versions of packages libfile-tail-perl depends on:
ii  perl [libtime-hires-perl]     5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to