watch: Correctly process [m Remove lib dependency
The commit referenced below made the ANSI sequence
[m be interpreted as [0m However this change was put
in the incorrect place and would reference an undefined
pointer, causing a crash. Thanks to Jimmy Theis for the
second heads-up.
watch doesn't need any libprocps functions so it is no
longer linked to them.
References:
commit a5937e4e94
https://www.freelists.org/post/procps/watch-crashes-but-its-not-the-latest-commit-fault
https://www.freelists.org/post/procps/Segmentation-fault-in-watch-3311
This commit is contained in:
@@ -96,7 +96,7 @@ dist_man_MANS += \
|
||||
slabtop_SOURCES = slabtop.c lib/strutils.c lib/fileutils.c
|
||||
slabtop_LDADD = $(LDADD) @NCURSES_LIBS@
|
||||
watch_SOURCES = watch.c lib/strutils.c lib/fileutils.c
|
||||
watch_LDADD = $(LDADD) @WATCH_NCURSES_LIBS@
|
||||
watch_LDADD = @WATCH_NCURSES_LIBS@
|
||||
top_top_SOURCES = \
|
||||
top/top.h \
|
||||
top/top.c \
|
||||
|
Reference in New Issue
Block a user