Folks, Some elements of the latest CVS patch breaks older c compilers... Personally I like the "declare when you need it" behavior, but gcc2.95 doesn't. The fix is almost trivial: %%%%%%%%%% diff -pru dillo_c99/src/interface.c dillo/src/interface.c --- dillo_c99/src/interface.c Fri Aug 13 12:25:02 2004 +++ dillo/src/interface.c Fri Aug 13 12:17:50 2004 @@ -1329,6 +1329,7 @@ static gchar *Interface_make_search_url( { gchar *keys = a_Url_encode_hex_str(str), *c = prefs.search_url; GString *newstr = g_string_sized_new(strlen(c)+strlen(keys)); + gchar *search_url; for (; *c; c++) if (*c == '%') @@ -1347,7 +1348,7 @@ static gchar *Interface_make_search_url( g_free(keys); - gchar *search_url = newstr->str; + search_url = newstr->str; g_string_free(newstr, FALSE); return search_url; } diff -pru dillo_c99/src/url.c dillo/src/url.c --- dillo_c99/src/url.c Fri Aug 13 12:25:02 2004 +++ dillo/src/url.c Fri Aug 13 12:22:07 2004 @@ -540,13 +540,12 @@ gchar *a_Url_decode_hex_str(const gchar */ gchar *a_Url_encode_hex_str(const gchar *str) { - if (!str) - return NULL; - static const char *verbatim = "-_.*"; static const char *hex = "0123456789ABCDEF"; - char *newstr = g_new(char, 6*strlen(str)+1), *c; + + if (!str) + return NULL; for (c = newstr; *str; str++) if ((isalnum(*str) && !(*str & 0x80)) || strchr(verbatim, *str)) %%%%%%%%%% -- -- David McKee -- dmckee@jlab.org -- (757) 269-7492 (Office)