Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 338369e: Treat CR-LF at the end of a line like LF.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 14 Jul 2014 18:27:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=338369ec2f89b47729df4b56ccf8fa3eab4ea270
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

338369e 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 preference file and the "recent" files;
    there are other configuration files that may need code changes as well.
    
    Change-Id: Iec15a8fac276929ce8b53ae16070e9f2855f574c
    Reviewed-on: https://code.wireshark.org/review/3042
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  e11db2e   Rename parameter if_index to stop clang warning:
    adds  338369e   Treat CR-LF at the end of a line like LF.


Summary of changes:
 epan/prefs.c |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)