diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-09-13 22:44:00 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-09-17 22:07:34 +0200 |
commit | fd1502f5630591bf8ce79502df9b5d76868dfd3b (patch) | |
tree | 62a347dbe332c0b48200a70ba9419de97e9192b9 /src/unix/random-getrandom.c | |
parent | e2c0f60c10119d10f03701752f568f1df731e85e (diff) | |
download | libuv-fd1502f5630591bf8ce79502df9b5d76868dfd3b.tar.gz libuv-fd1502f5630591bf8ce79502df9b5d76868dfd3b.zip |
win: fix reading hidden env vars
There are some special environment variables on Windows that
start with a '=' sign, e.g. per-drive working directories.
In those cases, an initial '=' in the name of the environment
variable needs to be skipped when looking for the '=' that separates
it from its value.
PR-URL: https://github.com/libuv/libuv/pull/2473
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jameson Nash <vtjnash+github@gmail.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'src/unix/random-getrandom.c')
0 files changed, 0 insertions, 0 deletions