WinRT compatibility functions: properly return ERANGE from getenv
authorAndrew Knight <andrew.knight@digia.com>
Mon, 4 Nov 2013 10:59:40 +0000 (12:59 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 4 Nov 2013 12:39:04 +0000 (13:39 +0100)
commitaf0409d336e07c61734777117f79906e0e82cd95
tree43134e015bd18a8f60104df6b016b82694757f61
parentfac56f3866a9f7a6047be64b40b3e1a6172bc5eb
WinRT compatibility functions: properly return ERANGE from getenv

...when the buffer's size is smaller than the value size.

Change-Id: Id345982c9fc4ceed6505d0c192680c47c554fcb4
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/corelib/kernel/qfunctions_winrt.cpp