Wireshark-commits: [Wireshark-commits] master-1.12 967c209: Treat CR-LF at the end of a line like L
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=967c209eb357ab7070db3b0665ba8521059ef26b
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
967c209 by Guy Harris (guy@xxxxxxxxxxxx):
Treat CR-LF at the end of a line like LF.
That way, if we're reading a Windows-format file on UN*X, we handle it
the same way we'd handle a UN*X-format file.
This handles bug 10272 for the cfilter and dfilter file; there are other
configuration files that may need code changes as well.
While we're at it, don't hand non-ASCII characters to isspace().
Change-Id: Ie4ecd2c9601545a60b4d3326c6782cfff093b156
Reviewed-on: https://code.wireshark.org/review/3046
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 53c01b1e Treat CR-LF at the end of a line like LF.
adds 967c209 Treat CR-LF at the end of a line like LF.
Summary of changes:
filters.c | 51 +++++++++++++++++++++++++++++++++++++--------------
1 file changed, 37 insertions(+), 14 deletions(-)