crash.software
Projects
Pull Requests
Issues
Builds
SearchAvailableExe
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
SearchAvailableExe
Commits
fd891759
🤬
Sign In
修复路径长度超过255导致程序报错bug
maoku
committed
2 months ago
fd891759
1 parent
7aa3adee
Total 2 files
Show one by one
■
■
■ ■ ■ ■
SearchAvailableExe/SearchAvailableExe.vcxproj.user
skipped 4 lines
5
5
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
6
6
</PropertyGroup>
7
7
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8
-
<LocalDebuggerCommandArguments>-i "D:"</LocalDebuggerCommandArguments>
8
+
<LocalDebuggerCommandArguments>-i "D:
\
software
\
WPS
Office
"</LocalDebuggerCommandArguments>
9
9
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
10
10
</PropertyGroup>
11
11
</Project>
All occurrences
■
■
■ ■ ■ ■
SearchAvailableExe/Tools.cpp
skipped 289 lines
290
290
count++;
291
291
}
292
292
293
-
char fileFullPath[
255
] = { 0 };
293
+
char fileFullPath[
0x255
] = { 0 };
294
294
strcat(fileFullPath, fileDir.c_str());
295
295
strcat(fileFullPath, pName);
296
296
skipped 635 lines
All occurrences
Please wait...
Page is in error, reload to recover