diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-10-06 13:10:17 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-06 16:04:10 +0100 |
commit | ed98d3bc603f8b503de76e4e70e304518f83499c (patch) | |
tree | ae2536b5dd839b00433fe29c8dca2e0b9d078a07 /linux.c | |
parent | 6cddf1d720780195ab8f1cb6c0cf03c42e7c6925 (diff) | |
download | subsurface-ed98d3bc603f8b503de76e4e70e304518f83499c.tar.gz |
macos.c: update the default path retriaval
- added system_default_directory()
- both system_default_directory() and system_default_filename()
now use the helper system_default_path_append()
- less safer compared to windows.c, assuming the OS is stricter on which
environment variables exist!
[Dirk Hohndel: switched filename to be dynamically allocated to avoid
possible buffer overflow]
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'linux.c')
0 files changed, 0 insertions, 0 deletions