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
fb48718c
Commit
fb48718c
authored
Sep 23, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb build, bugfix for webhandler object in LibHier
parent
b8f5883e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
wb/lib/wb/src/wb_build.cpp
wb/lib/wb/src/wb_build.cpp
+17
-0
No files found.
wb/lib/wb/src/wb_build.cpp
View file @
fb48718c
...
@@ -1243,6 +1243,8 @@ void wb_build::webhandler( pwr_tOid oid)
...
@@ -1243,6 +1243,8 @@ void wb_build::webhandler( pwr_tOid oid)
pwr_tStatus
fsts
;
pwr_tStatus
fsts
;
pwr_tStatus
sts
;
pwr_tStatus
sts
;
char
line
[
200
];
char
line
[
200
];
int
check_hierarchy
=
cdh_ObjidIsNotNull
(
m_hierarchy
);
int
hierarchy_found
=
0
;
wb_object
o
=
m_session
.
object
(
oid
);
wb_object
o
=
m_session
.
object
(
oid
);
...
@@ -1251,6 +1253,21 @@ void wb_build::webhandler( pwr_tOid oid)
...
@@ -1251,6 +1253,21 @@ void wb_build::webhandler( pwr_tOid oid)
return
;
return
;
}
}
// Check that no ancestor is a LibHier
for
(
wb_object
p
=
o
.
parent
();
p
.
oddSts
();
p
=
p
.
parent
())
{
if
(
p
.
cid
()
==
pwr_eClass_LibHier
)
{
m_sts
=
PWRB__INLIBHIER
;
return
;
}
if
(
check_hierarchy
&&
cdh_ObjidIsEqual
(
m_hierarchy
,
p
.
oid
()))
hierarchy_found
=
1
;
}
if
(
check_hierarchy
&&
!
hierarchy_found
)
{
m_sts
=
PWRB__NOBUILT
;
return
;
}
modtime
=
o
.
modTime
();
modtime
=
o
.
modTime
();
wb_attribute
a
=
m_session
.
attribute
(
oid
,
"RtBody"
,
"FileName"
);
wb_attribute
a
=
m_session
.
attribute
(
oid
,
"RtBody"
,
"FileName"
);
...
...
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