linux/LinuxProcessList: fix reading of number of read syscalls of process
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: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
70ed51a3
Name Last commit Last update
darwin Darwin: disable thread reading due to bug in macOS High Sierra
dragonflybsd Security review: check results of snprintf.
freebsd Security review: check results of snprintf.
linux linux/LinuxProcessList: fix reading of number of read syscalls of process
openbsd Interpret TTY_NR column on Linux,
scripts make script version agnostic
unsupported Issue #502 fix SID colunm header width
.editorconfig add editorconfig file to give hints to editors
.gitignore .gitignore vim & nano swp files
.travis.yml travis-ci should really detect autogen.sh...
AUTHORS Initial import.
Action.c Make 'c' key work with threads as well.
Action.h Auto-follow process after a search.
Affinity.c Portable affinity using hwloc
Affinity.h Portable affinity using hwloc
AffinityPanel.c Security review: check results of snprintf.
AffinityPanel.h Sorry about the mega-patch.
AvailableColumnsPanel.c Security review: check results of snprintf.
AvailableColumnsPanel.h Sorry about the mega-patch.
AvailableMetersPanel.c Security review: check results of snprintf.
AvailableMetersPanel.h Sorry about the mega-patch.
BatteryMeter.c Security review: check results of snprintf.
BatteryMeter.h Move platform-dependent parts of Linux battery meter.
COPYING Resolve license incompatibility issues,
CPUMeter.c Security review: check results of snprintf.
CPUMeter.h Calculate CPU averages on Darwin (See #295).
CRT.c Fix color behavior on some terminals.
CRT.h Fix color behavior on some terminals.
CategoriesPanel.c Mark some things as const
CategoriesPanel.h Sorry about the mega-patch.
ChangeLog Fix preservation of LDFLAGS value during configure script
CheckItem.c Avoid future confusions with how default values are set.
CheckItem.h Avoid future confusions with how default values are set.
ClockMeter.c Rename Meter.setValues() functions to updateValues()
ClockMeter.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
ColorsPanel.c Fix color behavior on some terminals.
ColorsPanel.h Make the implementation of color schemes declarative.
ColumnsPanel.c fix fallthough comments for GCC 7.x
ColumnsPanel.h Sorry about the mega-patch.
DisplayOptionsPanel.c Mark some things as const
DisplayOptionsPanel.h Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
EnvScreen.c Security review: make privilege dropping-restoring optional.
EnvScreen.h refactor *Screen classes, add InfoScreen superclass
FunctionBar.c Mark some things as const
FunctionBar.h Mark some things as const
Hashtable.c Check for failure in allocations.
Hashtable.h major header cleanup
Header.c Security review: check results of snprintf.
Header.h Fix macro Header_forEachColumn
HostnameMeter.c Rename Meter.setValues() functions to updateValues()
HostnameMeter.h
INSTALL
IncSet.c
IncSet.h
InfoScreen.c
InfoScreen.h
ListItem.c
ListItem.h
LoadAverageMeter.c
LoadAverageMeter.h
MainPanel.c
MainPanel.h
Makefile.am
MemoryMeter.c
MemoryMeter.h
Meter.c
Meter.h
MetersPanel.c
MetersPanel.h
NEWS
Object.c
Object.h
OpenFilesScreen.c
OpenFilesScreen.h
Panel.c
Panel.h
Process.c
Process.h
ProcessList.c
ProcessList.h
README
README.md
RichString.c
RichString.h
ScreenManager.c
ScreenManager.h
Settings.c
Settings.h
SignalsPanel.c
SignalsPanel.h
StringUtils.c
StringUtils.h
SwapMeter.c
SwapMeter.h
TESTPLAN
TasksMeter.c
TasksMeter.h
TraceScreen.c
TraceScreen.h
UptimeMeter.c