Final updates for 2.0.0

Fri Mar  8 10:20:46 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Final updates for 2.0.0

        * glib/gstrfuncs.c: Convert the results of strerror()
        and strsignal() to UTF-8.

        * glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
        glib/giowin32.c: Use g_strerror(), not strerror().
This commit is contained in:
Owen Taylor
2002-03-08 15:50:54 +00:00
committed by Owen Taylor
parent dac25522cd
commit cef5d28c89
17 changed files with 164 additions and 34 deletions

View File

@@ -346,7 +346,7 @@ get_contents_stdio (const gchar *filename,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Error reading file '%s': %s"),
filename, strerror (errno));
filename, g_strerror (errno));
goto error;
}
@@ -424,7 +424,7 @@ get_contents_regfile (const gchar *filename,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Failed to read from file '%s': %s"),
filename, strerror (errno));
filename, g_strerror (errno));
return FALSE;
}
@@ -463,7 +463,7 @@ get_contents_posix (const gchar *filename,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Failed to open file '%s': %s"),
filename, strerror (errno));
filename, g_strerror (errno));
return FALSE;
}
@@ -477,7 +477,7 @@ get_contents_posix (const gchar *filename,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Failed to get attributes of file '%s': fstat() failed: %s"),
filename, strerror (errno));
filename, g_strerror (errno));
return FALSE;
}
@@ -503,7 +503,7 @@ get_contents_posix (const gchar *filename,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Failed to open file '%s': fdopen() failed: %s"),
filename, strerror (errno));
filename, g_strerror (errno));
return FALSE;
}
@@ -531,7 +531,7 @@ get_contents_win32 (const gchar *filename,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Failed to open file '%s': %s"),
filename, strerror (errno));
filename, g_strerror (errno));
return FALSE;
}
@@ -743,7 +743,7 @@ g_file_open_tmp (const char *tmpl,
G_FILE_ERROR,
g_file_error_from_errno (errno),
_("Failed to create file '%s': %s"),
fulltemplate, strerror (errno));
fulltemplate, g_strerror (errno));
g_free (fulltemplate);
return -1;
}