From: Dr. Michael Lauer Date: Tue, 6 Mar 2018 15:42:55 +0000 (+0100) Subject: posix: getpass(3) returns null on error. X-Git-Tag: 0.40.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=726fd71d8b6749d747f556ca8ef681194cd925f7;p=thirdparty%2Fvala.git posix: getpass(3) returns null on error. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 5265ab52d..953570b35 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -2125,7 +2125,7 @@ namespace Posix { public int chroot (string path); [Version (deprecated_since = "POSIX.2", replacement = "termios ECHO flag")] [CCode (cheader_filename = "unistd.h")] - public unowned string getpass (string promt); + public unowned string? getpass (string prompt); [CCode (cheader_filename = "unistd.h", feature_test_macro = "_XOPEN_SOURCE")] public unowned string? crypt (string key, string salt); [CCode (cheader_filename = "unistd.h")]