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
c02f126a
Commit
c02f126a
authored
Feb 11, 2003
by
lw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
cb3e0846
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
src/lib/co/src/co_dbs.c
src/lib/co/src/co_dbs.c
+7
-2
src/lib/co/src/co_dbs.pdr
src/lib/co/src/co_dbs.pdr
+5
-0
wb/lib/wb/src/wb_vrepdbs.cpp
wb/lib/wb/src/wb_vrepdbs.cpp
+2
-1
No files found.
src/lib/co/src/co_dbs.c
View file @
c02f126a
...
...
@@ -446,8 +446,13 @@ dbs_Map(pwr_tStatus *sts, dbs_sEnv *ep, const char *filename)
printf
(
"class_bt...: %d.%d -> %d.%d %d
\n
"
,
cf
.
b
.
sect
,
cf
.
b
.
offs
,
cl
.
b
.
sect
,
cl
.
b
.
offs
,
vp
->
class_bt
.
rsize
);
printf
(
"oid_bt.....: %d.%d -> %d.%d %d
\n
"
,
of
.
b
.
sect
,
of
.
b
.
offs
,
ol
.
b
.
sect
,
ol
.
b
.
offs
,
vp
->
oid_bt
.
rsize
);
ep
->
sect
=
(
dbs_sSect
*
)(
ep
->
base
+
dbs_dAlign
(
sizeof
(
dbs_sFile
)));
ep
->
vp
=
(
dbs_sVolume
*
)(
ep
->
base
+
ep
->
sect
[
dbs_eSect_volume
].
offset
);
ep
->
vrp
=
(
dbs_sVolRef
*
)(
ep
->
base
+
ep
->
sect
[
dbs_eSect_volref
].
offset
);
ep
->
name_bt
=
(
dbs_sBintab
*
)(
ep
->
base
+
ep
->
sect
[
dbs_eSect_name
].
offset
);
ep
->
oid_bt
=
(
dbs_sBintab
*
)(
ep
->
base
+
ep
->
sect
[
dbs_eSect_oid
].
offset
);
ep
->
class_bt
=
(
dbs_sBintab
*
)(
ep
->
base
+
ep
->
sect
[
dbs_eSect_class
].
offset
);
ep
->
sect
=
(
dbs_sSect
*
)((
char
*
)
fp
+
dbs_dAlign
(
sizeof
(
dbs_sFile
)));
sp
=
(
dbs_sSect
*
)((
char
*
)
fp
+
dbs_dAlign
(
sizeof
(
dbs_sFile
)));
for
(
i
=
0
;
i
<
dbs_eSect_
;
i
++
,
sp
++
)
{
...
...
src/lib/co/src/co_dbs.pdr
View file @
c02f126a
...
...
@@ -518,6 +518,11 @@ struct dbs_sName {
% pwr_tUInt32 size; /**< size of mapped file */
% char *base;
% dbs_mEnv flags;
% dbs_sVolume *vp;
% dbs_sVolRef *vrp;
% dbs_sBintab *name_bt; /**< search for object with parent and name */
% dbs_sBintab *oid_bt; /**< search for object with identity */
% dbs_sBintab *class_bt; /**< search for object with class */
%} dbs_sEnv;
%
%
...
...
wb/lib/wb/src/wb_vrepdbs.cpp
View file @
c02f126a
...
...
@@ -32,7 +32,8 @@ wb_vrepdbs::dbsenv()
throw
wb_error
(
sts
);
}
m_isDbsenvLoaded
=
true
;
dbs_GetVolumeName
(
&
sts
,
&
m_dbsenv
,
m_name
);
strcpy
(
m_name
,
m_dbsenv
.
vp
->
name
);
m_vid
=
m_dbsenv
.
vp
->
vid
;
}
else
{
ep
=
&
m_dbsenv
;
}
...
...
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