Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 45175: /trunk/epan/ /trunk/epan/: pr
From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Thu, 27 Sep 2012 21:42:14 +0200
On Thu, Sep 27, 2012 at 12:24:09PM -0700, Guy Harris wrote:
> 
> On Sep 27, 2012, at 12:11 PM, Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> wrote:
> 
> > To do it, we can use g_strcmp0:
> >  http://developer.gnome.org/glib/2.28/glib-String-Utility-Functions.html#g-strcmp0
> 
> "Since 2.16", so we should then change the configure script to check for GLib 2.16 or later.

Good point, I think we should change configure script, cause we're already using it:

$ grep -Ir 'g_strcmp0' ./
./ui/gtk/main_menubar.c:        if (g_strcmp0(tok, "-") == 0) {
./ui/gtk/main_menubar.c:        if (g_strcmp0(tok, "-") == 0) {
./ui/gtk/main_menubar.c:        if (g_strcmp0(tok, "-") != 0) {
./fileset.c:    return g_strcmp0(entry->fullname, path);

First introduced in r39410, another one r43455