Files
Velix-MPV-Core/player
Avi Halachmi (:avih) 557e9d9531 win32: scripting utils.get_env_list(): use UTF-8
lua/js utils.get_env_list() uses `environ' which was ANSI, thus
it broke any unicode names/values.

mpv already has an internal utf8_environ for win32, but it's used
only at the getenv(..) wrapper and not exposed in itself, and also it
has lazy initialization - on first getenv() call.

Now `environ' maps to a function which ensures initialization while
keeping it an l-value (like posix expects).

The cost of this fuglyness is that files should include osdep/io.h
(which now declares environ as extern) rather than declaring it
themselves, or else the build will break on mingw.
2020-08-16 12:24:19 +03:00
..
2020-06-01 01:08:16 +02:00
2020-03-26 23:40:25 +01:00
2020-08-05 22:37:47 +02:00
2020-05-25 20:39:37 +02:00
2020-02-07 13:42:42 +01:00
2020-08-05 22:37:47 +02:00