Ethereal-dev: Re: [ethereal-dev] strerror, strcasecmp, strncasecmp

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 31 Jul 2000 08:45:50 -0500
On Mon, Jul 31, 2000 at 08:17:28AM -0500, Mark H. Wood wrote:
> On Thu, 27 Jul 2000, Guy Harris wrote:
> > > I think we should rely on glib and use in Ethereal the g_str* functions.
> > 
> > I seem to remember a message to one of the GTK+ mailing lists suggesting
> > that one cannot rely on "g_strcasecmp()" and "g_strncasecmp()", i.e.
> > there was a message reporting a bug in those routines.
> 
> The name g_strcasecmp does not occur in any of the glibc 2.1.2
> documentation.  I don't think they want us to become dependent on it.  I
> haven't checked the other names.

It's part of the glib library, not glibc. It's an unfortunate name, perhaps,
but glib used to be part of GTK+, and is now distributed independently of
that. See http://www.gtk.org/

--gilbert