Wireshark-commits: [Wireshark-commits] master 77f9699: Fix support for writing out edited records.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 20 Oct 2014 21:37:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=77f969958c75a8ba138d5adeeddbef50664f52c0
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

77f9699 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix support for writing out edited records.
    
    Add a cf_set_frame_edited() routine to set the record header and data
    for a record; have it do all the non-GUI work, and have it set the
    file's "unsaved changes" flag.
    
    Have the GUI code just call that routine and then update the title bar
    to reflect the unsaved changes.
    
    While we're at it, unmark a no-longer-unused argument to save_record().
    
    Change-Id: Ieb513fdf423b388519527621ecec4cf634b98caf
    Reviewed-on: https://code.wireshark.org/review/4885
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0bbe483   Proto: Fixed proto_unregister_field()
    adds  77f9699   Fix support for writing out edited records.


Summary of changes:
 file.c              |   46 +++++++++++++++++++++++++++++++++++++++++++++-
 file.h              |   12 ++++++++++++
 ui/gtk/packet_win.c |   28 ++++------------------------
 3 files changed, 61 insertions(+), 25 deletions(-)