From: Craig Small Date: Sat, 17 Aug 2002 12:37:30 +0000 (+0000) Subject: fixed extra close bracket bug X-Git-Tag: v22.11~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0861cb31e09811c9b7de3b248a5a1205d3912207;p=psmisc fixed extra close bracket bug --- diff --git a/ChangeLog b/ChangeLog index b4b4548..ab1aa1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,19 +1,20 @@ -2002-08-16 gettextize - - * Makefile.am (SUBDIRS): Remove intl. +Changes in 21.1 +=============== +2002-08-17 + * Now has LFS support. Closes Debian #129157 and #156017 + * Fixed pstree -a extra bracket problem, Closes Debian #96791 2002-08-16 gettextize * Makefile.am (SUBDIRS): Add m4. + * Makefile.am (SUBDIRS): Remove intl. (SUBDIRS): Remove intl. (ACLOCAL_AMFLAGS): New variable. (EXTRA_DIST): Add config.rpath. * configure.in (AC_OUTPUT): Add po/Makefile.in, (AC_OUTPUT): Remove intl/Makefile. -Changes in 21.1 -=============== - - config.guess and config.sub are no longer syminks + * config.guess and config.sub are no longer syminks Changes in 21 (15-MAY-2002) diff --git a/src/pstree.c b/src/pstree.c index 7cb2252..09b90cb 100644 --- a/src/pstree.c +++ b/src/pstree.c @@ -329,8 +329,8 @@ dump_tree (PROC * current, int level, int rep, int leaf, int last, } if (current->highlight && (tmp = tgetstr ("md", NULL))) tputs (tmp, 1, putchar); - if ((swapped = print_args) && current->argc < 0) - out_char ('('); + if ((swapped && print_args) && current->argc < 0) + out_char ('('); comm_len = 0; for (here = current->comm; *here; here++) if (*here == '\\') @@ -364,7 +364,8 @@ dump_tree (PROC * current, int level, int rep, int leaf, int last, else (void) out_int (current->uid); } - if (info || swapped) + /*XXX if (info || swapped) */ + if (swapped && print_args && current->argc < 0) out_char (')'); if (current->highlight && (tmp = tgetstr ("me", NULL))) tputs (tmp, 1, putchar);