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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data): * 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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data): * 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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data): * 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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data): * 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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data): * 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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data): * 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> 2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/macros_misc.sgml: Document G_GINT{16,32,64}_MODIFIER, add note about scanning. * 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_file_test
g_mkstemp g_mkstemp
g_file_open_tmp g_file_open_tmp
g_read_link g_file_read_link
<SUBSECTION> <SUBSECTION>
GDir 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 * @filename: the symbolic link
* @error: return location for a #GError * @error: return location for a #GError
* *
@ -1002,7 +1002,7 @@ g_build_filename (const gchar *first_element,
* Since: 2.4 * Since: 2.4
*/ */
gchar * gchar *
g_read_link (const gchar *filename, g_file_read_link (const gchar *filename,
GError **error) GError **error)
{ {
#ifdef HAVE_READLINK #ifdef HAVE_READLINK

View File

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