Rename g_read_link() to g_file_read_link() to better match the remaining

* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
	utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
	as the function is just 2 days old.
This commit is contained in:
Matthias Clasen 2003-07-29 22:31:40 +00:00
parent cf9779628e
commit 15edef6ff2
10 changed files with 45 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):

View File

@ -1,3 +1,9 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):

View File

@ -1,3 +1,9 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):

View File

@ -1,3 +1,9 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):

View File

@ -1,3 +1,9 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):

View File

@ -1,3 +1,9 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):

View File

@ -1,3 +1,7 @@
2003-07-30 Matthias Clasen <maclas@gmx.de>
* glib/glib-sections.txt: Rename g_read_link to g_file_read_link.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/macros_misc.sgml: Document G_GINT{16,32,64}_MODIFIER, add note about scanning.

View File

@ -878,7 +878,7 @@ g_file_get_contents
g_file_test
g_mkstemp
g_file_open_tmp
g_read_link
g_file_read_link
<SUBSECTION>
GDir

View File

@ -988,7 +988,7 @@ g_build_filename (const gchar *first_element,
}
/**
* g_read_link:
* g_file_read_link:
* @filename: the symbolic link
* @error: return location for a #GError
*
@ -1002,8 +1002,8 @@ g_build_filename (const gchar *first_element,
* Since: 2.4
*/
gchar *
g_read_link (const gchar *filename,
GError **error)
g_file_read_link (const gchar *filename,
GError **error)
{
#ifdef HAVE_READLINK
gchar *buffer;

View File

@ -78,7 +78,7 @@ gboolean g_file_get_contents (const gchar *filename,
gchar **contents,
gsize *length,
GError **error);
gchar * g_read_link (const gchar *filename,
gchar *g_file_read_link (const gchar *filename,
GError **error);
/* Wrapper / workalike for mkstemp() */