diff options
author | Max Prokhorov <prokhorov.max@outlook.com> | 2016-06-13 04:13:42 +0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-06-12 21:13:42 -0400 |
commit | ba4cd7e2573e591aa120655414d911f1a1882fe1 (patch) | |
tree | 7b2dd36f46be38f93a77364414e89db6f0e1ae83 /src/basic/glob-util.h | |
parent | e7b90ddc345d1817ca48bfcc4e3e73836c8051af (diff) |
util-lib: drop trailing non-printable characters from cmdline (#3512)
If max_length is equal or greater than cmdline length all trailing non-printable
characters are dropped. If max_length is 0 it should do the same.
This should also fix cmdline truncation if the last character is not '\0'.
Fixes #3469.
Diffstat (limited to 'src/basic/glob-util.h')
0 files changed, 0 insertions, 0 deletions