mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-26 17:52:24 +00:00
83ff08f9db
This fixes a load-time failure on versions of Windows too old to have that function in kernel32.dll. We use it to determine whether a file was safe to overwrite in the context of PuTTY session logging: if it's safe, we skip the 'do you want to overwrite or append?' dialog box. On earlier Windows you can use FindFirstFile to get a similar effect, so that's what we fall back to. It's not quite the same, though - if you pass a wildcard then it will succeed when you'd rather it had failed. But it's good enough to at least work in normal cases. |
||
---|---|---|
.. | ||
agent_mutex_name.c | ||
agent_named_pipe_name.c | ||
arm_arch_queries.c | ||
aux_match_opt.c | ||
cryptoapi.c | ||
defaults.c | ||
dll_hijacking_protection.c | ||
dputs.c | ||
escape_registry_key.c | ||
filename.c | ||
fontspec.c | ||
get_system_dir.c | ||
get_username.c | ||
getdlgitemtext_alloc.c | ||
interprocess_mutex.c | ||
is_console_handle.c | ||
load_system32_dll.c | ||
ltime.c | ||
make_spr_sw_abort_winerror.c | ||
makedlgitemborderless.c | ||
message_box.c | ||
minefield.c | ||
open_for_write_would_lose_data.c | ||
pgp_fingerprints_msgbox.c | ||
platform_get_x_display.c | ||
registry_get_string.c | ||
request_file.c | ||
security.c | ||
split_into_argv.c | ||
strtoumax.c | ||
version.c | ||
win_strerror.c |