diff options
author | Werner Koch <[email protected]> | 2025-04-04 13:32:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-04-04 13:32:56 +0000 |
commit | a4a692fcf1ed128693ec6d64d5e3163775aad10b (patch) | |
tree | 39b0c09ca589396baa283dd328a2938c42741658 /src/strsource.c | |
parent | Add test cases for the strlist functions. (diff) | |
download | libgpg-error-a4a692fcf1ed128693ec6d64d5e3163775aad10b.tar.gz libgpg-error-a4a692fcf1ed128693ec6d64d5e3163775aad10b.zip |
w32: Improve the detection of the need for a \\?\ prefix
* src/sysutils.c (_gpgrt_fname_to_wchar): Use the no-max-path prefix
for shorter files and for filenames with path separators.
--
Depending on the current directory the old threshold of 230 was to
larger. Now we use a lower limit which should handle most standard
file names w/o the need for the prefix. We also always do this if the
requested file includes a directory part.
Updates-commit: 32dad4e4135f0bdc436ed684da753d4b0cdb0ea1
Diffstat (limited to 'src/strsource.c')
0 files changed, 0 insertions, 0 deletions