replace *a lot* of file related calls by their GLib counterparts. This is necessary...
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 6 Nov 2005 22:43:25 +0000 (22:43 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 6 Nov 2005 22:43:25 +0000 (22:43 +0000)
commit0180a288fa38bef477488aecd025aade16614bbf
tree0eb95991cb932d74ca534ed0df29a3f2f256b1b8
parent297440aa575eaffc35554650cb1dc938a5d4cc89
replace *a lot* of file related calls by their GLib counterparts. This is necessary for the switch to GTK 2.6 (at least on WIN32).

to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.

deleted related things from config.h.win32

As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16403 f5534014-38df-0310-8fa8-9805f1628bb7
50 files changed:
capture.c
capture_loop.c
capture_sync.c
color_filters.c
config.h.win32
disabled_protos.c
epan/addr_resolv.c
epan/column.c
epan/dissectors/packet-kerberos.c
epan/filesystem.c
epan/plugins.c
epan/prefs.c
epan/sha1.c
file.c
fileset.c
filters.c
gtk/capture_if_dlg.c
gtk/drag_and_drop.c
gtk/file_dlg.c
gtk/fileset_dlg.c
gtk/filter_dlg.h
gtk/follow_dlg.c
gtk/graph_analysis.c
gtk/gui_utils.c
gtk/help_dlg.c
gtk/main.c
gtk/print_dlg.c
gtk/print_mswin.c
gtk/proto_draw.c
gtk/recent.c
gtk/rtp_analysis.c
gtk/rtp_stream.c
gtk/text_page.c
mergecap.c
mkstemp.c
pcap-util-unix.c
plugins/asn1/packet-asn1.c
plugins/mate/mate_util.c
print.c
ringbuffer.c
tethereal.c
util.c
wiretap/ascend.c
wiretap/config.h.win32
wiretap/file_access.c
wiretap/file_util.h [new file with mode: 0644]
wiretap/file_wrappers.c
wiretap/file_wrappers.h
wiretap/k12.c
wiretap/wtap.c