URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6011a047d3cd2aba84e7fdd3bf7e8403a2f3563b
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
6011a04 by Guy Harris (guy@xxxxxxxxxxxx):
WTAP_ERR_UNWRITABLE_ errors aren't returned by reads or open-for-reading.
Check for them *only* on opening for writing and writes.
Change-Id: I4b537d511ec04bcfc81f69166a2b9a2ee9310067
Reviewed-on: https://code.wireshark.org/review/5827
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from aa27e66 Rename WTAP_ERR_REC_TYPE_UNSUPPORTED to WTAP_ERR_UNWRITABLE_REC_TYPE.
adds 6011a04 WTAP_ERR_UNWRITABLE_ errors aren't returned by reads or open-for-reading.
Summary of changes:
capinfos.c | 4 ----
capture_info.c | 11 ++---------
captype.c | 2 --
editcap.c | 4 ----
file.c | 38 ++------------------------------------
frame_tvbuff.c | 2 +-
mergecap.c | 4 ----
rawshark.c | 6 ------
reordercap.c | 6 ------
tshark.c | 20 ++++----------------
10 files changed, 9 insertions(+), 88 deletions(-)