Package: psmisc
Version: 22.6-1
Severity: normal

Hello,

Searching with fuser in UDP namespace (fuser -n udp) does not work.

It looks like a cut&paste kind of bug, as the following patch against
fuser.c seems to correct the problem.

--- fuser.c~    2007-04-30 00:57:06.000000000 +0200
+++ fuser.c     2008-10-14 16:52:59.000000000 +0200
@@ -821,9 +821,9 @@
                        case NAMESPACE_UDP:
                                asprintf(&(this_name->filename), "%s/udp", 
argv[optc]);
 #ifdef WITH_IPV6
-                               parse_inet(this_name, ipv4_only, ipv6_only, 
&tcp_connection_list, &tcp6_connection_list);
+                               parse_inet(this_name, ipv4_only, ipv6_only, 
&udp_connection_list, &udp6_connection_list);
 #else
-                               parse_inet(this_name, &tcp_connection_list);
+                               parse_inet(this_name, &udp_connection_list);
 #endif
                                break;
                        default: /* FILE */


Regards,

        Arnaud Giersch

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages psmisc depends on:
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libncurses5               5.6+20080830-1 shared libraries for terminal hand

psmisc recommends no packages.

psmisc suggests no packages.

-- no debconf information

-- 
Arnaud Giersch
http://info.iut-bm.univ-fcomte.fr/staff/giersch/



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

Reply via email to