diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-10-06 13:10:16 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-06 15:43:21 +0100 |
commit | 6cddf1d720780195ab8f1cb6c0cf03c42e7c6925 (patch) | |
tree | 6fbdda1488cf40603a7d41953ac17e7d96d0d1a8 /macos.c | |
parent | cd0963c26fc11cd704a646cbf11ee4e30f724c69 (diff) | |
download | subsurface-6cddf1d720780195ab8f1cb6c0cf03c42e7c6925.tar.gz |
windows.c: sanitize the backend for path retrieval
The old backend was less safe because, it didn't:
- support UTF-16 paths!
- use GetUserNameW()
The following changes were made:
- system_default_path_append() can be used to retrieve a path in the user
Roaming path.
- system_default_directory() - this is equal to
system_default_path_append(NULL)
- system_default_filename() also uses the helper
system_default_path_append()
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
0 files changed, 0 insertions, 0 deletions