Ethereal-dev: [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: Uwe Girlich <Uwe.Girlich@xxxxxxxxxxx>
Date: Thu, 27 Jul 2000 10:08:11 +0200
Hello!

I just found, that strerror(), strcasecmp(), and strncasecmp() are checked in
configure and are possibily substituted with a private version. All three 
function have a glib counterpart g_strerror(), g_strcasecmp(), and
g_strncasecmp().

I think we should rely on glib and use in Ethereal the g_str* functions. This
reduces the configure test (which was already done on installing glib)
and removes 3 additional files. If nobody complaines, I'll check in the
(trivial) changes soon.

BTW, g_strncasecmp() came in glib 1.1.5. The other 2 function must be even
older. Another goodie: g_strerror() even works on systems without the
sys_errlist[] array.

Uwe