- 26 Feb, 2018 16 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Jesin authored
The configure script relied on bash-specific extensions to shell syntax and behavior, causing build failures on systems with other /bin/sh implementations. This commit replaces those with equivalent constructs that should work in all POSIX shells.
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Michael Klein authored
Fixes #695.
-
Kang-Che Sung (宋岡哲) authored
glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and requires us to include <sys/sysmacros.h>. (glibc 2.25 starts deprecating the macros in <sys/types.h>.) Now do include the latter if found on the system. At the moment, let's also utilize AC_HEADER_MAJOR in configure script. However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro to reflect the glibc change [1], so add a workaround code. Fixes #663. Supersedes pull request #729. Reference: [1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-
- 19 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
-
- 18 Feb, 2018 6 commits
-
-
Hisham Muhammad authored
Avoid unnecessary access() call and make code read more linearly.
-
Hisham Muhammad authored
Require at least the `fields` entry to be present, so we can have a decent guess that it was indeed a settings file.
-
Hisham Muhammad authored
I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500
-
Hisham Muhammad authored
-
- 17 Feb, 2018 6 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
guoci authored
-
Marc Kleine-Budde authored
The "if" tests if the character at index "5" is 'r', as a first quick check. However at index "5" will always be a colon ":". This patch fixes the off-by-one error. htop now shows proper values in the RD_SYSC column. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-
Hisham Muhammad authored
Fixes #738.
-
Hisham Muhammad authored
-
- 13 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
Fixes #733.
-
- 05 Feb, 2018 4 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
It seems that certain negative integer values can crash isalnum(). Let's protect against those. Fixes #711.
-
Hisham Muhammad authored
Fixes #710.
-
Hisham Muhammad authored
Fixes #635.
-
- 04 Feb, 2018 6 commits
-
-
Hisham Muhammad authored
-
Jan Chren (rindeal) authored
-
coypoop authored
Not for a comparison to zero
-
Viktor Szépe authored
*hightlight*
-
Wataru Ashihara authored
Fixes #688, the bug regressed on 584a9bce. On Mac OS X 10.11.6, all processes have their parents since there's a special process named "kernel_task", whose PID and PPID are 0. As a result, `this->processes` is never changed causing infinite `while`.
-
Vladimir Panteleev authored
Linux commit 06eb61844d841d0032a9950ce7f8e783ee49c0d0 ("sched/debug: Add explicit TASK_IDLE printing") exposes kthreads idling using TASK_IDLE in procfs as "I (idle)". Until now, when sorting the STATE ("S") column, htop used the raw value of the state character for comparison, however that led to the undesirable effect of TASK_IDLE ('I') tasks being sorted above tasks that were running ('R'). Thus, explicitly recognize the idle process state, and sort it below others.
-