1. 16 Apr, 2012 1 commit
    • Sami Kerola's avatar
      docs: fix manual page warnings · 47100a81
      Sami Kerola authored
      All warnings where about unnecessary quoting.  The scriptlet
      below will tell what was wrong.
      for I in ./top/top.1 ./ps/ps.1 ./*.[0-9]; do
          echo "== $I warnings =="
          man --warnings=all $I > /dev/null
      This should probably be turned to 'make check' script.
      Signed-off-by: default avatarSami Kerola <kerolasa@iki.fi>
  2. 15 Apr, 2012 6 commits
  3. 06 Apr, 2012 2 commits
  4. 23 Mar, 2012 2 commits
  5. 17 Mar, 2012 2 commits
  6. 16 Mar, 2012 5 commits
  7. 15 Mar, 2012 5 commits
  8. 11 Mar, 2012 2 commits
    • Kent R. Spillner's avatar
      Don't check if output changed on first screen. · ddfc4028
      Kent R. Spillner authored
      When invoked with the --chgexit/-g options wait until we have at
      least one screen of output before checking if the output changed.
      Otherwise, we're comparing the initial screen of output to all
      spaces, which usually isn't what we want.
    • Kent R. Spillner's avatar
      watch: exit cleanly when falling through main loop. · f5a3afdc
      Kent R. Spillner authored
      Revert commit ffe5e0b0.  Restores
      clean exit when falling through main loop.
      Previously, watch only exited when there was an error or when
      interrupted by the user.  Commit 81f64657
      added another exit condition when the watched command's output
      changes, causing execution to fall out of the main loop.
      With this change, watch correctly restores the terminal and returns
      an exit code indicating success when invoked with the --chgexit/-g
  9. 08 Mar, 2012 2 commits
  10. 07 Mar, 2012 1 commit
  11. 06 Mar, 2012 1 commit
    • jim warner's avatar
      top: fix selected miscellaneous compiler warnings · 87bb21b5
      jim warner authored
         These per instance warnings have been eliminated:
      warning: range expressions in switch statements are non-standard
      warning: padding struct to align 'winflags'
      warning: dereferencing type-punned pointer will break strict-aliasing rules
         These per instance warnings have not been addressed
         since they simply trade one warning for another:
      warning: ISO C does not permit named variadic macros
      warning: ISO C does not support the '%Lu' gnu_scanf format
      warning: anonymous variadic macros were introduced in C99
      warning: ISO C90 does not support the 'll' gnu_scanf length modifier
         Lastly, since all C compilers have supported use of
         C++ style comments for the past 20 years, the top
         program will never trade them for the often more
         cumbersome C style comments simply to avoid this
         once per source file warning:
      warning: C++ style comments are not allowed in ISO C90
      Signed-off-by: jim warner's avatarJim Warner <james.warner@comcast.net>
  12. 04 Mar, 2012 5 commits
  13. 03 Mar, 2012 6 commits