]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Correct documentation comment for crypt()
authorChris Daley <chebizarro@gmail.com>
Thu, 16 Jun 2016 11:16:40 +0000 (12:16 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 21 Jul 2016 13:56:15 +0000 (15:56 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=767047

vapi/posix.vapi

index b142a36a08fd46fde4068b7241985be3cf7fd30e..34721128e0257d9389080cadee6190f54e68bd70 100644 (file)
@@ -1916,10 +1916,13 @@ namespace Posix {
        [Version (deprecated_since = "POSIX.2", replacement = "termios ECHO flag")]
        [CCode (cheader_filename = "unistd.h")]
        public unowned string getpass (string promt);
-       /** To expose Posix crypt() GNU's libc and others require the feature test
-        *  macro _XOPEN_SOURCE to be defined. See man 3 crypt
-        *  A VAPI is unable to define and emit this macro before all include files
-        *  Instead use valac -X -D_XOPEN_SOURCE
+       /**
+        * Encodes a string
+        *
+        * To expose Posix crypt() GNU's libc and others require the feature test
+        * macro _XOPEN_SOURCE to be defined. See man 3 crypt.
+        * A VAPI is unable to define and emit this macro before all include files
+        * Instead use valac -X -D_XOPEN_SOURCE
         */
        [CCode (cheader_filename = "unistd.h")]
        public unowned string crypt (string key, string salt);