]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The r322210 change to pgrep's PID delimiting behaviour causes pgrep's default
authorlstewart <lstewart@FreeBSD.org>
Thu, 17 Aug 2017 06:36:21 +0000 (06:36 +0000)
committerlstewart <lstewart@FreeBSD.org>
Thu, 17 Aug 2017 06:36:21 +0000 (06:36 +0000)
commitcefde59f8f405582805544b8bf86c0b12154d08e
tree613481c2591a932fae39c2221d4ca7df99e961b0
parentb7cee9bec28e0beeb194e3827b4218667114ff9c
The r322210 change to pgrep's PID delimiting behaviour causes pgrep's default
output to not include a trailing new line, which is a potential POLA violation
for existing consumers. Change pgrep to always emit a trailing new line on
completion of its output, regardless of the delimeter in use (which technically
is also a potential POLA violation for existing consumers that rely on the
pre-r322210 buggy behaviour, but a line has to be drawn somewhere).

PR: 221534
Submitted by: kdrakehp zoho com
Reported by: kdrakehp zoho com
MFC after: 1 week
X-MFC-with: r322210
bin/pkill/pkill.c