Wireshark-commits: [Wireshark-commits] master-1.10 bc963b0: Treat CR-LF at the end of a line like L
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 14 Jul 2014 19:19:07 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bc963b05b8ced30ed8afccde747fb2a1cff39bb1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

bc963b0 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>
    (cherry picked from commit 967c209eb357ab7070db3b0665ba8521059ef26b)
    Reviewed-on: https://code.wireshark.org/review/3047
    

Actions performed:

    from  2aaed97   Treat CR-LF at the end of a line like LF.
    adds  bc963b0   Treat CR-LF at the end of a line like LF.


Summary of changes:
 filters.c |   51 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 37 insertions(+), 14 deletions(-)