add simple test for g_path_get_basename().

Tue Sep 18 18:19:33 2001  Tim Janik  <timj@gtk.org>

        * tests/testglib.c: add simple test for g_path_get_basename().

        * glib/gfileutils.c (g_file_open_tmp):
        * glib/gstrfuncs.c (g_strerror): scratch erroneous usages
        of "illegal".
This commit is contained in:
Tim Janik
2001-09-18 16:33:20 +00:00
committed by Tim Janik
parent 812b4b00af
commit 71075ee0db
12 changed files with 77 additions and 2 deletions

View File

@@ -652,7 +652,7 @@ g_file_open_tmp (const char *tmpl,
g_set_error (error,
G_FILE_ERROR,
G_FILE_ERROR_FAILED,
_("Template '%s' illegal, should not contain a '%s'"),
_("Template '%s' invalid, should not contain a '%s'"),
tmpl, G_DIR_SEPARATOR_S);
return -1;