summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/strerror.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-08-31 12:08:34 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-08-31 12:08:34 +0200
commit472e5439e7c7c7ecb552149de494f91540b55f8b (patch)
tree40fd8906e0a32e7c68a35be6c6aa8c2ea8c341ba /newlib/libc/string/strerror.c
parentabd37f0c79aa33f53d829bf68511bb78308646f1 (diff)
downloadcygnal-472e5439e7c7c7ecb552149de494f91540b55f8b.tar.gz
cygnal-472e5439e7c7c7ecb552149de494f91540b55f8b.tar.bz2
cygnal-472e5439e7c7c7ecb552149de494f91540b55f8b.zip
Fix passwd getting error 1265 when running on newer Windows
On Windows 8.1 and later, the NetUserChangePassword call apparently doesn't accept the usual "\\server" string anymore, but requires to use the "domain" instead, otherwise it emits en error code 1265, ERROR_DOWNGRADE_DETECTED. Since this is accepted by pre-8.1 as well, use the domain indiscriminately when calling NetUserChangePassword from passwd(1). While at it, do some minor cleanup in passwd.c. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/string/strerror.c')
0 files changed, 0 insertions, 0 deletions