aboutsummaryrefslogtreecommitdiffstats
path: root/src/stringutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-04-04 13:32:56 +0000
committerWerner Koch <[email protected]>2025-04-04 13:32:56 +0000
commita4a692fcf1ed128693ec6d64d5e3163775aad10b (patch)
tree39b0c09ca589396baa283dd328a2938c42741658 /src/stringutils.c
parentAdd test cases for the strlist functions. (diff)
downloadlibgpg-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/stringutils.c')
0 files changed, 0 insertions, 0 deletions