Package: dsh
Version: 0.25.6-1
Severity: normal
Tags: patch
forklimit in dsh.conf is reduced to 0+1, since every other values is
also mapped to 1. Please find my current hotfix for this in the attached
patch.
Thanks,
Holger
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.18r2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dsh depends on:
ii libc6 2.3.2.ds1-22sarge6 GNU C Library: Shared libraries an
ii libdshconfig1 0.20.11-1 configuration file parser library
-- no debconf information
--- parameter.c.orig 2007-04-23 00:51:21.000000000 +0200
+++ parameter.c 2007-04-23 00:55:01.000000000 +0200
@@ -276,7 +276,8 @@
}
else if (!strcmp(buf_a, "forklimit"))
{
- forklimit = (atoi ( buf_b ) != 0 );
+ forklimit = atoi ( buf_b );
+ if (forklimit < 0) forklimit = 0;
wait_shell = 0;
if (verbose_flag)
{