Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-cvs] rev 16411: /trunk/: pcap-util-unix.c

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: Mon, 07 Nov 2005 01:34:25 -0800
Ulf Lamping wrote:
Guy Harris wrote:

Actually, it's not needed if you include <glib.h> - glib.h provides open(), close(), etc. wrappers.

I don't think so, at least on Win32 it does not.

1.2[.x] did:
	http://developer.gnome.org/doc/API/glib/glib-windows-compatability-functions.html

but it looks as if 2.x doesn't, for whatever reason.

BTW, apparently, unless a shared library is built with the same version of the C runtime library as another shared library or a program, FILE *'s or file descriptors opened by the shared library can't be used by the other shared library or the program, or *vice versa*.