Package: netcat-openbsd
Version: 1.89-4
Severity: normal

The man page says a negative value for -q means infinity.  But the code
makes no distinction between negative and zero.  The bug was introduced
in 1.89-4, and is related to bug #502188.

In version 1.89-3, -q behaved as documented (negative was treated as
infinite), and the default was -1.  As described in the changelog,
1.89-4 decided that the default behavior should be like -q 0.  A
one-line patch was offered to change the default from -1 to 0:

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=fix-quit-timer-patch.patch;att=1;bug=502188

But that patch was not used.  Instead, the default value was left as -1,
and the code was changed to treat negative values the same as 0.  So now
-q -1 is no different from -q 0.  If you want an infinite quit timer,
you need to do something like -q 999999999, although the man page still
says -q -1 should work.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages netcat-openbsd depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines

netcat-openbsd recommends no packages.

netcat-openbsd suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to