Ethereal-dev: [Ethereal-dev] New GLib file-related call changes

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sun, 06 Nov 2005 15:15:15 -0800
ulfl@xxxxxxxxxxxx wrote:

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.

Actually, the first build that broke was the Win32 build; <glib/gstdio.h> *is* GLib 2.6-only.

Also, the build is failing for me, as "wiretap/file_util.h" includes "mkstemp.h", but "mkstemp.h" is in the top-level directory, and the build of Wiretap doesn't do "-I..".

I'm not sure where the abstraction of the low-level file access routines should be done. Wiretap *could* be the right place, although the stuff it currently handles is a bit higher-level than that; another possibility would be to have another library that just handles that.

In either case, whatever library handles it should get "mkstemp.c" and "mkstemp.h", rather than having it be in the top-level directory.