mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 00:48:53 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user