Changes in 21.9
===============
+2005-11-26 Paul Martin
+ * Fxied segfault in pstree -a Debian #338108
+
2005-11-22 Craig Small
* fuser can not use IPv6, for things like uClibc
* configure has --disable-ipv6 for above
2005-11-15 Craig Small
- * fuser finds unix sockets.
+ * fuser finds unix sockets. Closes: #338868
2005-11-05 Rene Rebe <rene@exactcode.de>
* fixed print_matches to only print unmatched objects if -a is
if ((thread=atoi(dt->d_name)) !=0) {
if (thread != pid) {
#ifdef WITH_SELINUX
- add_proc(threadname, thread, pid, st.st_uid, NULL, 0, scontext);
+ if (print_args)
+ add_proc(threadname, thread, pid, st.st_uid, threadname, strlen(threadname)+1, scontext);
+ else
+ add_proc(threadname, thread, pid, st.st_uid, NULL, 0, scontext);
#else /*WITH_SELINUX*/
- add_proc(threadname, thread, pid, st.st_uid, NULL, 0);
+ if (print_args)
+ add_proc(threadname, thread, pid, st.st_uid, threadname, strlen(threadname)+1);
+ else
+ add_proc(threadname, thread, pid, st.st_uid, NULL, 0);
#endif /*WITH_SELINUX*/
}
}