Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
03f475fb
Commit
03f475fb
authored
Jul 15, 2020
by
Claes
Committed by
Esteban Blanc
Dec 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb_name fix for invalid names
parent
d3c987cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
wb/lib/wb/src/wb_ldh.cpp
wb/lib/wb/src/wb_ldh.cpp
+6
-0
No files found.
wb/lib/wb/src/wb_ldh.cpp
View file @
03f475fb
...
...
@@ -362,6 +362,8 @@ pwr_tStatus ldh_CreateObject(ldh_tSession session, pwr_tOid* oid,
try
{
wb_name
n
(
name
);
if
(
!
n
)
return
n
.
sts
();
wb_cdef
cdef
=
sp
->
cdef
(
cid
);
...
...
@@ -389,6 +391,8 @@ pwr_tStatus ldh_CreateVolume(ldh_tWorkbench workbench, ldh_tSession* session,
wb_env
*
ep
=
(
wb_env
*
)
workbench
;
wb_name
n
(
name
);
if
(
!
n
)
return
n
.
sts
();
wb_volume
v
=
ep
->
createVolume
(
vid
,
cid
,
name
,
volrep
,
server
);
if
(
!
v
)
...
...
@@ -1159,6 +1163,8 @@ pwr_tStatus ldh_GetVidInfo(
{
wb_env
*
wb
=
(
wb_env
*
)
workbench
;
wb_volume
v
=
wb
->
volume
(
vid
);
if
(
!
v
)
return
v
.
sts
();
ip
->
Volume
=
v
.
vid
();
ip
->
Class
=
v
.
cid
();
ip
->
VolRep
=
v
.
type
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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