Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
96b97971
Commit
96b97971
authored
Jul 21, 2016
by
filatov
Browse files
fix a bug in cstrlastpathelement
parent
8bf3c1b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/itscertgen/cshared/cshared.vcxproj
View file @
96b97971
...
...
@@ -59,12 +59,12 @@
</ImportGroup>
<PropertyGroup
Label=
"UserMacros"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<OutDir>
$(SolutionDir)build\
MSVC-
$(Configuration)\
</OutDir>
<IntDir>
$(SolutionDir)build\
MSVC-
$(Configuration)\
obj\
$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)build\
msvc\
$(Configuration)\
</OutDir>
<IntDir>
$(SolutionDir)build\
msvc\
$(Configuration)\$(ProjectName)\
</IntDir>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<OutDir>
$(SolutionDir)build\
MSVC-
$(Configuration)\
</OutDir>
<IntDir>
$(SolutionDir)build\
MSVC-
$(Configuration)\
obj\
$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)build\
msvc\
$(Configuration)\
</OutDir>
<IntDir>
$(SolutionDir)build\
msvc\
$(Configuration)\$(ProjectName)\
</IntDir>
</PropertyGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<ClCompile>
...
...
tools/itscertgen/cshared/cstr.c
View file @
96b97971
...
...
@@ -243,7 +243,8 @@ const pchar_t * cstrlastpathelement(const pchar_t * str)
const
pchar_t
*
p2
=
pchar_rchr
(
str
,
'\\'
);
if
(
p
<
p2
)
p
=
p2
;
#endif
else
if
(
p
==
NULL
)
p
=
str
;
if
(
p
==
NULL
)
p
=
str
;
else
p
++
;
return
p
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment