User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1) Gecko/20061024 Firefox/2.0 Build Identifier: See also Bug 2277, the applied bugfix is incomplete. The mkdtemp is function was added as a static function to string_utils.c, but is invisible to the extract_dialog.c where it is used. Here is a patch to fix this: -----------------------------------------------> --- string_utils.h_old 2007-01-23 14:13:52.666054000 +0100 +++ string_utils.h 2007-01-23 14:14:21.495182000 +0100 @@ -22,6 +22,9 @@ #ifndef HAVE_STRCASESTR const char *strcasestr(const char *haystack, const char *needle); #endif +#ifndef HAVE_MKDTEMP +char *mkdtemp (gchar *tmpl); +#endif gchar *EscapeBadChars ( gchar *string , gchar *pattern); gchar *JoinPathArchiveName ( const gchar *extract_path , gchar *path ); int CountCharacter ( gchar *string , int chr ); --- string_utils.c_old 2007-01-23 14:12:36.868281000 +0100 +++ string_utils.c 2007-01-23 14:12:45.697979000 +0100 @@ -27,7 +27,7 @@ #include "errno.h" #ifndef HAVE_MKDTEMP -static char *mkdtemp (gchar *tmpl) +char *mkdtemp (gchar *tmpl) { static const gchar LETTERS[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; static guint64 value = 0; <--------------------------------------------------------- Reproducible: Always Steps to Reproduce:
I already applied your patch in my local sources. Thank you for your appreciated contribution.
Fixed in r24798.