]> granicus.if.org Git - psmisc/commitdiff
fixed extra close bracket bug
authorCraig Small <csmall@users.sourceforge.net>
Sat, 17 Aug 2002 12:37:30 +0000 (12:37 +0000)
committerCraig Small <csmall@users.sourceforge.net>
Sat, 17 Aug 2002 12:37:30 +0000 (12:37 +0000)
ChangeLog
src/pstree.c

index b4b45488030ff2f657a9e338bda0e0775383bb3f..ab1aa1bb2670301d55738b409deaf59752c31424 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,19 +1,20 @@
-2002-08-16  gettextize  <bug-gnu-gettext@gnu.org>
-
-       * 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  <bug-gnu-gettext@gnu.org>
 
        * 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)
index 7cb22523d6c2c007e37bd45b8167f10b11f00700..09b90cb8716c4cff2140b73da30d81aa0099eb67 100644 (file)
@@ -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);