]> granicus.if.org Git - procps-ng/commit
watch: Correctly process [m Remove lib dependency
authorCraig Small <csmall@enc.com.au>
Tue, 1 Sep 2015 11:28:07 +0000 (21:28 +1000)
committerCraig Small <csmall@enc.com.au>
Tue, 1 Sep 2015 11:28:07 +0000 (21:28 +1000)
commit99fa7f9f57f52afdf648584879f37980731215d5
treee4245cdbd8f6455c4bfd653cf37e425c4b06d979
parent0ee090ae16a3a98ba64a1bb8108597328a4c05b0
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 a5937e4e943eaf28b378a318566d6968f2b167be
 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
Makefile.am
watch.c