mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 02:17:51 +02:00
Require gtk-doc 1.8.
2007-11-25 Matthias Clasen <mclasen@redhat.com> * configure.in: Require gtk-doc 1.8. * glib/gasyncqueue.c: * glib/gdate.c: * glib/gfileutils.c: * glib/gmain.c: * glib/gmarkup.c: * glib/gregex.c: * glib/gtestutils.c: * glib/gutils.c: Use gtk-doc abbreviations for examples in doc comments. svn path=/trunk/; revision=5933
This commit is contained in:
committed by
Matthias Clasen
parent
0c01c6f1ad
commit
d2f111fca7
@@ -154,14 +154,14 @@ g_mkdir_with_parents (const gchar *pathname,
|
||||
* For example, you might think you could use %G_FILE_TEST_IS_SYMLINK
|
||||
* to know whether it is is safe to write to a file without being
|
||||
* tricked into writing into a different location. It doesn't work!
|
||||
*
|
||||
* <informalexample><programlisting>
|
||||
* |[
|
||||
* /* DON'T DO THIS */
|
||||
* if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK)) {
|
||||
* fd = g_open (filename, O_WRONLY);
|
||||
* /* write to fd */
|
||||
* }
|
||||
* </programlisting></informalexample>
|
||||
* if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))
|
||||
* {
|
||||
* fd = g_open (filename, O_WRONLY);
|
||||
* /* write to fd */
|
||||
* }
|
||||
* ]|
|
||||
*
|
||||
* Another thing to note is that %G_FILE_TEST_EXISTS and
|
||||
* %G_FILE_TEST_IS_EXECUTABLE are implemented using the access()
|
||||
|
Reference in New Issue
Block a user