diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-02-27 13:57:40 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-02-27 14:27:40 +0000 |
| commit | ed525e2db10081f095d2fccc1b02830654470401 (patch) | |
| tree | 4467394a255c596be9c3573d8d0b5e4f3eb3dcea /libbb/appletlib.c | |
| parent | 05219c1f97be1dc7a3f825a5a658a137d90b03a2 (diff) | |
| download | busybox-w32-long_paths.tar.gz busybox-w32-long_paths.tar.bz2 busybox-w32-long_paths.zip | |
win32: add (some) long path supportlong_paths
Use the longPathAware manifest entry to handle path lengths above
260. This requires the LongPathsEnabled registry key to be set
at run-time.
Modify (some) WIN32 API calls to use the wide-character variant.
These features are controlled by the build-time configuration
option FEATURE_LONG_PATHS, which is not enabled by default.
Diffstat (limited to '')
| -rw-r--r-- | libbb/appletlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 481cc278e..12de2b610 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
| @@ -928,6 +928,9 @@ int busybox_main(int argc UNUSED_PARAM, char **argv) | |||
| 928 | # if ENABLE_FEATURE_UTF8_MANIFEST | 928 | # if ENABLE_FEATURE_UTF8_MANIFEST |
| 929 | full_write1_str("; Unicode"); | 929 | full_write1_str("; Unicode"); |
| 930 | # endif | 930 | # endif |
| 931 | # if ENABLE_FEATURE_LONG_PATHS | ||
| 932 | full_write1_str("; long paths"); | ||
| 933 | # endif | ||
| 931 | full_write1_str(")\n\n"); | 934 | full_write1_str(")\n\n"); |
| 932 | # else | 935 | # else |
| 933 | full_write1_str(" multi-call binary.\n"); /* reuse */ | 936 | full_write1_str(" multi-call binary.\n"); /* reuse */ |
