Pass ESD_BTN_OK rather than NULL as a second argument to
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 31 Jan 2004 03:22:42 +0000 (03:22 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 31 Jan 2004 03:22:42 +0000 (03:22 +0000)
commit5343810389248adb30d23a36f37fb6eaadd71fa9
tree1dda390f197eb0fd4dc3bf2e9b4e5b36a8162189
parent30991713e6678c466f323484f9f18c839c9838b4
Pass ESD_BTN_OK rather than NULL as a second argument to
"simple_dialog()"; NULL might be #defined to be a pointer expression on
some platforms, causing compiler warnings (and, on platforms where a
null pointer doesn't have all its bits 0, possibly causing misbehavior,
although I don't think there are any such platforms on which Ethereal
runs).

Don't allow 0 as button mask argument to "simple_dialog()".

Squelch a compiler warning.

Report fatal problems as errors, not warnings.

Report file I/O errors with "file_open_error_message()".

Report file write errors (including those reported by "close()", e.g.
some errors writing to an NFS server) when saving raw packet data to a
file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9915 f5534014-38df-0310-8fa8-9805f1628bb7
44 files changed:
capture.c
file.c
gtk/ansi_a_stat.c
gtk/ansi_map_stat.c
gtk/bootp_stat.c
gtk/capture_dlg.c
gtk/capture_prefs.c
gtk/color_dlg.c
gtk/color_filters.c
gtk/colors.c
gtk/dcerpc_stat.c
gtk/decode_as_dlg.c
gtk/dfilter_expr_dlg.c
gtk/endpoint_talkers_table.c
gtk/fc_stat.c
gtk/file_dlg.c
gtk/filter_prefs.c
gtk/find_dlg.c
gtk/follow_dlg.c
gtk/goto_dlg.c
gtk/gsm_a_stat.c
gtk/gui_prefs.c
gtk/h225_counter.c
gtk/h225_ras_srt.c
gtk/help_dlg.c
gtk/http_stat.c
gtk/io_stat.c
gtk/isup_stat.c
gtk/ldap_stat.c
gtk/main.c
gtk/mgcp_stat.c
gtk/prefs_dlg.c
gtk/print_dlg.c
gtk/proto_dlg.c
gtk/proto_draw.c
gtk/rpc_stat.c
gtk/rtp_analysis.c
gtk/rtp_stream.c
gtk/service_response_time_table.c
gtk/simple_dialog.c
gtk/smb_stat.c
gtk/tcp_graph.c
gtk/wsp_stat.c
proto_hier_stats.c